Package com.google.protobuf
Interface StructOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
Struct
,Struct.Builder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsFields
(String key) map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
Deprecated.int
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
getFieldsOrDefault
(String key, Value defaultValue) map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
getFieldsOrThrow
(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 Details
-
getFieldsCount
int getFieldsCount()map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
-
containsFields
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
-
getFields
Deprecated.UsegetFieldsMap()
instead. -
getFieldsMap
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
-
getFieldsOrDefault
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
-
getFieldsOrThrow
map<string, .google.protobuf.Value> fields = 1 [json_name = "fields"];
-