Class AggregateFleetRow (0.6.0)

public final class AggregateFleetRow extends GeneratedMessage implements AggregateFleetRowOrBuilder

Individual row grouped by a particular dimension.

Protobuf type google.cloud.databasecenter.v1beta.AggregateFleetRow

Static Fields

DELTA_DETAILS_FIELD_NUMBER

public static final int DELTA_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

DIMENSION_FIELD_NUMBER

public static final int DIMENSION_FIELD_NUMBER
Field Value
Type Description
int

RESOURCES_COUNT_FIELD_NUMBER

public static final int RESOURCES_COUNT_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_GROUPS_COUNT_FIELD_NUMBER

public static final int RESOURCE_GROUPS_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AggregateFleetRow getDefaultInstance()
Returns
Type Description
AggregateFleetRow

getDescriptor()

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

newBuilder()

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

newBuilder(AggregateFleetRow prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<AggregateFleetRow> parser()
Returns
Type Description
Parser<AggregateFleetRow>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AggregateFleetRow getDefaultInstanceForType()
Returns
Type Description
AggregateFleetRow

getDeltaDetails()

public DeltaDetails getDeltaDetails()

Optional. Delta counts and details of resources which were added to/deleted from fleet.

optional .google.cloud.databasecenter.v1beta.DeltaDetails delta_details = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DeltaDetails

The deltaDetails.

getDeltaDetailsOrBuilder()

public DeltaDetailsOrBuilder getDeltaDetailsOrBuilder()

Optional. Delta counts and details of resources which were added to/deleted from fleet.

optional .google.cloud.databasecenter.v1beta.DeltaDetails delta_details = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DeltaDetailsOrBuilder

getDimension(int index)

public Dimension getDimension(int index)

Group by dimension.

repeated .google.cloud.databasecenter.v1beta.Dimension dimension = 1;

Parameter
Name Description
index int
Returns
Type Description
Dimension

getDimensionCount()

public int getDimensionCount()

Group by dimension.

repeated .google.cloud.databasecenter.v1beta.Dimension dimension = 1;

Returns
Type Description
int

getDimensionList()

public List<Dimension> getDimensionList()

Group by dimension.

repeated .google.cloud.databasecenter.v1beta.Dimension dimension = 1;

Returns
Type Description
List<Dimension>

getDimensionOrBuilder(int index)

public DimensionOrBuilder getDimensionOrBuilder(int index)

Group by dimension.

repeated .google.cloud.databasecenter.v1beta.Dimension dimension = 1;

Parameter
Name Description
index int
Returns
Type Description
DimensionOrBuilder

getDimensionOrBuilderList()

public List<? extends DimensionOrBuilder> getDimensionOrBuilderList()

Group by dimension.

repeated .google.cloud.databasecenter.v1beta.Dimension dimension = 1;

Returns
Type Description
List<? extends com.google.cloud.databasecenter.v1beta.DimensionOrBuilder>

getParserForType()

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

getResourceGroupsCount()

public int getResourceGroupsCount()

Number of resource groups that have a particular dimension.

int32 resource_groups_count = 2;

Returns
Type Description
int

The resourceGroupsCount.

getResourcesCount()

public int getResourcesCount()

Number of resources that have a particular dimension.

int32 resources_count = 3;

Returns
Type Description
int

The resourcesCount.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasDeltaDetails()

public boolean hasDeltaDetails()

Optional. Delta counts and details of resources which were added to/deleted from fleet.

optional .google.cloud.databasecenter.v1beta.DeltaDetails delta_details = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the deltaDetails field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected AggregateFleetRow.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AggregateFleetRow.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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