public static final class StructStats.Builder extends GeneratedMessageV3.Builder<StructStats.Builder> implements StructStatsOrBuilder
The data statistics of a series of STRUCT values.
Protobuf type google.cloud.automl.v1beta1.StructStats
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StructStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public StructStats build()
Returns
buildPartial()
public StructStats buildPartial()
Returns
clear()
public StructStats.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public StructStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearFieldStats()
public StructStats.Builder clearFieldStats()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public StructStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public StructStats.Builder clone()
Returns
Overrides
containsFieldStats(String key)
public boolean containsFieldStats(String key)
Map from a field name of the struct to data stats aggregated over series
of all data in that field across all the structs.
map<string, .google.cloud.automl.v1beta1.DataStats> field_stats = 1;
Parameter
Returns
getDefaultInstanceForType()
public StructStats getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFieldStats()
public Map<String,DataStats> getFieldStats()
Returns
getFieldStatsCount()
public int getFieldStatsCount()
Map from a field name of the struct to data stats aggregated over series
of all data in that field across all the structs.
map<string, .google.cloud.automl.v1beta1.DataStats> field_stats = 1;
Returns
getFieldStatsMap()
public Map<String,DataStats> getFieldStatsMap()
Map from a field name of the struct to data stats aggregated over series
of all data in that field across all the structs.
map<string, .google.cloud.automl.v1beta1.DataStats> field_stats = 1;
Returns
getFieldStatsOrDefault(String key, DataStats defaultValue)
public DataStats getFieldStatsOrDefault(String key, DataStats defaultValue)
Map from a field name of the struct to data stats aggregated over series
of all data in that field across all the structs.
map<string, .google.cloud.automl.v1beta1.DataStats> field_stats = 1;
Parameters
Returns
getFieldStatsOrThrow(String key)
public DataStats getFieldStatsOrThrow(String key)
Map from a field name of the struct to data stats aggregated over series
of all data in that field across all the structs.
map<string, .google.cloud.automl.v1beta1.DataStats> field_stats = 1;
Parameter
Returns
getMutableFieldStats()
public Map<String,DataStats> getMutableFieldStats()
Use alternate mutation accessors instead.
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(StructStats other)
public StructStats.Builder mergeFrom(StructStats other)
Parameter
Returns
public StructStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public StructStats.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StructStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
putAllFieldStats(Map<String,DataStats> values)
public StructStats.Builder putAllFieldStats(Map<String,DataStats> values)
Map from a field name of the struct to data stats aggregated over series
of all data in that field across all the structs.
map<string, .google.cloud.automl.v1beta1.DataStats> field_stats = 1;
Parameter
Returns
putFieldStats(String key, DataStats value)
public StructStats.Builder putFieldStats(String key, DataStats value)
Map from a field name of the struct to data stats aggregated over series
of all data in that field across all the structs.
map<string, .google.cloud.automl.v1beta1.DataStats> field_stats = 1;
Parameters
Returns
removeFieldStats(String key)
public StructStats.Builder removeFieldStats(String key)
Map from a field name of the struct to data stats aggregated over series
of all data in that field across all the structs.
map<string, .google.cloud.automl.v1beta1.DataStats> field_stats = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public StructStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StructStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StructStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides