public final class AwsAutoscalingGroupMetricsCollection extends GeneratedMessageV3 implements AwsAutoscalingGroupMetricsCollectionOrBuilder
Configuration related to CloudWatch metrics collection in an AWS
Auto Scaling group.
Protobuf type google.cloud.gkemulticloud.v1.AwsAutoscalingGroupMetricsCollection
Static Fields
GRANULARITY_FIELD_NUMBER
public static final int GRANULARITY_FIELD_NUMBER
Field Value
METRICS_FIELD_NUMBER
public static final int METRICS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AwsAutoscalingGroupMetricsCollection getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AwsAutoscalingGroupMetricsCollection.Builder newBuilder()
Returns
newBuilder(AwsAutoscalingGroupMetricsCollection prototype)
public static AwsAutoscalingGroupMetricsCollection.Builder newBuilder(AwsAutoscalingGroupMetricsCollection prototype)
Parameter
Returns
public static AwsAutoscalingGroupMetricsCollection parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AwsAutoscalingGroupMetricsCollection parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AwsAutoscalingGroupMetricsCollection parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AwsAutoscalingGroupMetricsCollection parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AwsAutoscalingGroupMetricsCollection parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AwsAutoscalingGroupMetricsCollection parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AwsAutoscalingGroupMetricsCollection parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AwsAutoscalingGroupMetricsCollection parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AwsAutoscalingGroupMetricsCollection parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AwsAutoscalingGroupMetricsCollection parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AwsAutoscalingGroupMetricsCollection parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AwsAutoscalingGroupMetricsCollection parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AwsAutoscalingGroupMetricsCollection> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public AwsAutoscalingGroupMetricsCollection getDefaultInstanceForType()
Returns
getGranularity()
public String getGranularity()
Required. The frequency at which EC2 Auto Scaling sends aggregated data to
AWS CloudWatch. The only valid value is "1Minute".
string granularity = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The granularity.
|
getGranularityBytes()
public ByteString getGranularityBytes()
Required. The frequency at which EC2 Auto Scaling sends aggregated data to
AWS CloudWatch. The only valid value is "1Minute".
string granularity = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
ByteString | The bytes for granularity.
|
getMetrics(int index)
public String getMetrics(int index)
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The metrics at the given index.
|
getMetricsBytes(int index)
public ByteString getMetricsBytes(int index)
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the metrics at the given index.
|
getMetricsCount()
public int getMetricsCount()
Returns
Type | Description |
int | The count of metrics.
|
getMetricsList()
public ProtocolStringList getMetricsList()
Returns
getParserForType()
public Parser<AwsAutoscalingGroupMetricsCollection> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AwsAutoscalingGroupMetricsCollection.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AwsAutoscalingGroupMetricsCollection.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AwsAutoscalingGroupMetricsCollection.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions