public interface StructOrBuilder extends MessageLiteOrBuilder
Implements
MessageLiteOrBuilderMethods
containsFields(String key)
public abstract boolean containsFields(String key)
Unordered map of dynamically typed values.
map<string, .google.protobuf.Value> fields = 1;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getFields()
public abstract Map<String,Value> getFields()
Use #getFieldsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,Value> |
getFieldsCount()
public abstract int getFieldsCount()
Unordered map of dynamically typed values.
map<string, .google.protobuf.Value> fields = 1;
Returns | |
---|---|
Type | Description |
int |
getFieldsMap()
public abstract Map<String,Value> getFieldsMap()
Unordered map of dynamically typed values.
map<string, .google.protobuf.Value> fields = 1;
Returns | |
---|---|
Type | Description |
Map<String,Value> |
getFieldsOrDefault(String key, Value defaultValue)
public abstract Value getFieldsOrDefault(String key, Value defaultValue)
Unordered map of dynamically typed values.
map<string, .google.protobuf.Value> fields = 1;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
Value |
Returns | |
---|---|
Type | Description |
Value |
getFieldsOrThrow(String key)
public abstract Value getFieldsOrThrow(String key)
Unordered map of dynamically typed values.
map<string, .google.protobuf.Value> fields = 1;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
Value |