Top Methods
com.google.protobuf

public Interface StructOrBuilder

extends MessageOrBuilder
Known Direct Implementers
com.google.protobuf.Struct, com.google.protobuf.Struct.Builder

Method Summary

Modifier and TypeMethod and Description
public boolean
containsFields(String key)

Unordered map of dynamically typed values.
public Map<String, Value>
getFields()

Deprecated
Use getFieldsMap() instead.
public int
getFieldsCount()

Unordered map of dynamically typed values.
public Map<String, Value>
getFieldsMap()

Unordered map of dynamically typed values.
public Value
getFieldsOrDefault(String key, Value defaultValue)

Unordered map of dynamically typed values.
public Value
getFieldsOrThrow(String key)

Unordered map of dynamically typed values.
Inherited from com.google.protobuf.MessageOrBuilder:
findInitializationErrorsgetAllFieldsgetDefaultInstanceForTypegetDescriptorForTypegetFieldgetInitializationErrorStringgetOneofFieldDescriptorgetRepeatedFieldgetRepeatedFieldCountgetUnknownFieldshasFieldhasOneof

Method Detail

containsFieldsback to summary
public boolean containsFields(String key)
Unordered map of dynamically typed values.
map<string, .google.protobuf.Value> fields = 1;
getFieldsback to summary
public Map<String, Value> getFields()

Deprecated

Use getFieldsMap() instead.

Annotations
@Deprecated
getFieldsCountback to summary
public int getFieldsCount()
Unordered map of dynamically typed values.
map<string, .google.protobuf.Value> fields = 1;
getFieldsMapback to summary
public Map<String, Value> getFieldsMap()
Unordered map of dynamically typed values.
map<string, .google.protobuf.Value> fields = 1;
getFieldsOrDefaultback to summary
public Value getFieldsOrDefault(String key, Value defaultValue)
Unordered map of dynamically typed values.
map<string, .google.protobuf.Value> fields = 1;
getFieldsOrThrowback to summary
public Value getFieldsOrThrow(String key)
Unordered map of dynamically typed values.
map<string, .google.protobuf.Value> fields = 1;