public static final class AggregationResult.Frequency extends GeneratedMessageV3 implements AggregationResult.FrequencyOrBuilder
The result of a frequency distribution aggregation.
Protobuf type google.cloud.migrationcenter.v1.AggregationResult.Frequency
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AggregationResult.FrequencyImplements
AggregationResult.FrequencyOrBuilderStatic Fields
VALUES_FIELD_NUMBER
public static final int VALUES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static AggregationResult.Frequency getDefaultInstance()
Returns | |
---|---|
Type | Description |
AggregationResult.Frequency |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static AggregationResult.Frequency.Builder newBuilder()
Returns | |
---|---|
Type | Description |
AggregationResult.Frequency.Builder |
newBuilder(AggregationResult.Frequency prototype)
public static AggregationResult.Frequency.Builder newBuilder(AggregationResult.Frequency prototype)
Parameter | |
---|---|
Name | Description |
prototype | AggregationResult.Frequency |
Returns | |
---|---|
Type | Description |
AggregationResult.Frequency.Builder |
parseDelimitedFrom(InputStream input)
public static AggregationResult.Frequency parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
AggregationResult.Frequency |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AggregationResult.Frequency parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AggregationResult.Frequency |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static AggregationResult.Frequency parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
AggregationResult.Frequency |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AggregationResult.Frequency parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AggregationResult.Frequency |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static AggregationResult.Frequency parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
AggregationResult.Frequency |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AggregationResult.Frequency parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AggregationResult.Frequency |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static AggregationResult.Frequency parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
AggregationResult.Frequency |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AggregationResult.Frequency parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AggregationResult.Frequency |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static AggregationResult.Frequency parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
AggregationResult.Frequency |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AggregationResult.Frequency parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AggregationResult.Frequency |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static AggregationResult.Frequency parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
AggregationResult.Frequency |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AggregationResult.Frequency parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AggregationResult.Frequency |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<AggregationResult.Frequency> parser()
Returns | |
---|---|
Type | Description |
Parser<Frequency> |
Methods
containsValues(String key)
public boolean containsValues(String key)
map<string, int64> values = 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 |
getDefaultInstanceForType()
public AggregationResult.Frequency getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AggregationResult.Frequency |
getParserForType()
public Parser<AggregationResult.Frequency> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<Frequency> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getValues() (deprecated)
public Map<String,Long> getValues()
Use #getValuesMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,java.lang.Long> |
getValuesCount()
public int getValuesCount()
map<string, int64> values = 1;
Returns | |
---|---|
Type | Description |
int |
getValuesMap()
public Map<String,Long> getValuesMap()
map<string, int64> values = 1;
Returns | |
---|---|
Type | Description |
Map<String,java.lang.Long> |
getValuesOrDefault(String key, long defaultValue)
public long getValuesOrDefault(String key, long defaultValue)
map<string, int64> values = 1;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | long |
Returns | |
---|---|
Type | Description |
long |
getValuesOrThrow(String key)
public long getValuesOrThrow(String key)
map<string, int64> values = 1;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
long |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public AggregationResult.Frequency.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
AggregationResult.Frequency.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AggregationResult.Frequency.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
AggregationResult.Frequency.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public AggregationResult.Frequency.Builder toBuilder()
Returns | |
---|---|
Type | Description |
AggregationResult.Frequency.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |