Package com.google.protobuf
Interface StructOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
Struct
,Struct.Builder
public interface StructOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsFields(java.lang.String key)
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
java.util.Map<java.lang.String,Value>
getFields()
Deprecated.int
getFieldsCount()
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
java.util.Map<java.lang.String,Value>
getFieldsMap()
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
Value
getFieldsOrDefault(java.lang.String key, Value defaultValue)
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
Value
getFieldsOrThrow(java.lang.String key)
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
-
Methods 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 Detail
-
getFieldsCount
int getFieldsCount()
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
-
containsFields
boolean containsFields(java.lang.String key)
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
-
getFields
@Deprecated java.util.Map<java.lang.String,Value> getFields()
Deprecated.UsegetFieldsMap()
instead.
-
getFieldsMap
java.util.Map<java.lang.String,Value> getFieldsMap()
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
-
getFieldsOrDefault
Value getFieldsOrDefault(java.lang.String key, Value defaultValue)
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
-
getFieldsOrThrow
Value getFieldsOrThrow(java.lang.String key)
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
-
-