Interface PyObjectProto.PyAsJsonPBOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PyObjectProto.PyAsJsonPB
,PyObjectProto.PyAsJsonPB.Builder
- Enclosing class:
- PyObjectProto
public static interface PyObjectProto.PyAsJsonPBOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Value
getJson()
This proto will be serializing Python objects to JSONcom.google.protobuf.ValueOrBuilder
This proto will be serializing Python objects to JSONstring pyClass = 1;
com.google.protobuf.ByteString
string pyClass = 1;
boolean
hasJson()
This proto will be serializing Python objects to JSONMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPyClass
String getPyClass()string pyClass = 1;
- Returns:
- The pyClass.
-
getPyClassBytes
com.google.protobuf.ByteString getPyClassBytes()string pyClass = 1;
- Returns:
- The bytes for pyClass.
-
hasJson
boolean hasJson()This proto will be serializing Python objects to JSON
.google.protobuf.Value json = 2;
- Returns:
- Whether the json field is set.
-
getJson
com.google.protobuf.Value getJson()This proto will be serializing Python objects to JSON
.google.protobuf.Value json = 2;
- Returns:
- The json.
-
getJsonOrBuilder
com.google.protobuf.ValueOrBuilder getJsonOrBuilder()This proto will be serializing Python objects to JSON
.google.protobuf.Value json = 2;
-