Class StructStats (2.46.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
Type Description
int

Static Methods

getDefaultInstance()

public static StructStats getDefaultInstance()
Returns
Type Description
StructStats

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static StructStats.Builder newBuilder()
Returns
Type Description
StructStats.Builder

newBuilder(StructStats prototype)

public static StructStats.Builder newBuilder(StructStats prototype)
Parameter
Name Description
prototype StructStats
Returns
Type Description
StructStats.Builder

parseDelimitedFrom(InputStream input)

public static StructStats parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StructStats
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StructStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StructStats
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StructStats parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StructStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StructStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StructStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StructStats parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StructStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StructStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StructStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StructStats parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StructStats
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StructStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StructStats
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StructStats parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StructStats
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StructStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StructStats
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StructStats parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StructStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StructStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StructStats
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StructStats> parser()
Returns
Type Description
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
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public StructStats getDefaultInstanceForType()
Returns
Type Description
StructStats

getFieldStats() (deprecated)

public Map<String,DataStats> getFieldStats()

Use #getFieldStatsMap() instead.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue DataStats
Returns
Type Description
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
Name Description
key String
Returns
Type Description
DataStats

getParserForType()

public Parser<StructStats> getParserForType()
Returns
Type Description
Parser<StructStats>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StructStats.Builder newBuilderForType()
Returns
Type Description
StructStats.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected StructStats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StructStats.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public StructStats.Builder toBuilder()
Returns
Type Description
StructStats.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException