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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
VALUES_FIELD_NUMBER
public static final int VALUES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static AggregationResult.Frequency getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AggregationResult.Frequency.Builder newBuilder()
newBuilder(AggregationResult.Frequency prototype)
public static AggregationResult.Frequency.Builder newBuilder(AggregationResult.Frequency prototype)
public static AggregationResult.Frequency parseDelimitedFrom(InputStream input)
public static AggregationResult.Frequency parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AggregationResult.Frequency parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AggregationResult.Frequency parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AggregationResult.Frequency parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AggregationResult.Frequency parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AggregationResult.Frequency parseFrom(CodedInputStream input)
public static AggregationResult.Frequency parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AggregationResult.Frequency parseFrom(InputStream input)
public static AggregationResult.Frequency parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AggregationResult.Frequency parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AggregationResult.Frequency parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AggregationResult.Frequency> parser()
Methods
containsValues(String key)
public boolean containsValues(String key)
map<string, int64> values = 1;
Parameter |
---|
Name | Description |
key | String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public AggregationResult.Frequency getDefaultInstanceForType()
getParserForType()
public Parser<AggregationResult.Frequency> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getValues() (deprecated)
public Map<String,Long> getValues()
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AggregationResult.Frequency.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AggregationResult.Frequency.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public AggregationResult.Frequency.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides