Class StructStats (2.7.0)

public final class StructStats extends GeneratedMessageV3 implements StructStatsOrBuilder

The data statistics of a series of STRUCT values.

Protobuf type google.cloud.automl.v1beta1.StructStats

Static Fields

FIELD_STATS_FIELD_NUMBER

public static final int FIELD_STATS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StructStats getDefaultInstance()
Returns
TypeDescription
StructStats

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static StructStats.Builder newBuilder()
Returns
TypeDescription
StructStats.Builder

newBuilder(StructStats prototype)

public static StructStats.Builder newBuilder(StructStats prototype)
Parameter
NameDescription
prototypeStructStats
Returns
TypeDescription
StructStats.Builder

parseDelimitedFrom(InputStream input)

public static StructStats parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StructStats
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StructStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StructStats
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static StructStats parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StructStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StructStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StructStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StructStats parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StructStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StructStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StructStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StructStats parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StructStats
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StructStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StructStats
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static StructStats parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StructStats
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StructStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StructStats
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static StructStats parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StructStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StructStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StructStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<StructStats> parser()
Returns
TypeDescription
Parser<StructStats>

Methods

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
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public StructStats getDefaultInstanceForType()
Returns
TypeDescription
StructStats

getFieldStats()

public Map<String,DataStats> getFieldStats()

Use #getFieldStatsMap() instead.

Returns
TypeDescription
Map<String,DataStats>

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
TypeDescription
int

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
TypeDescription
Map<String,DataStats>

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
NameDescription
keyString
defaultValueDataStats
Returns
TypeDescription
DataStats

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
NameDescription
keyString
Returns
TypeDescription
DataStats

getParserForType()

public Parser<StructStats> getParserForType()
Returns
TypeDescription
Parser<StructStats>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public StructStats.Builder newBuilderForType()
Returns
TypeDescription
StructStats.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StructStats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StructStats.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public StructStats.Builder toBuilder()
Returns
TypeDescription
StructStats.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException