Class AggregateFleetResponse (0.6.0)

public final class AggregateFleetResponse extends GeneratedMessage implements AggregateFleetResponseOrBuilder

The response message to aggregate a fleet by some group by fields.

Protobuf type google.cloud.databasecenter.v1beta.AggregateFleetResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_GROUPS_TOTAL_COUNT_FIELD_NUMBER

public static final int RESOURCE_GROUPS_TOTAL_COUNT_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_TOTAL_COUNT_FIELD_NUMBER

public static final int RESOURCE_TOTAL_COUNT_FIELD_NUMBER
Field Value
Type Description
int

ROWS_FIELD_NUMBER

public static final int ROWS_FIELD_NUMBER
Field Value
Type Description
int

UNREACHABLE_FIELD_NUMBER

public static final int UNREACHABLE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AggregateFleetResponse getDefaultInstance()
Returns
Type Description
AggregateFleetResponse

getDescriptor()

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

newBuilder()

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

newBuilder(AggregateFleetResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AggregateFleetResponse getDefaultInstanceForType()
Returns
Type Description
AggregateFleetResponse

getNextPageToken()

public String getNextPageToken()

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 4;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 4;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getParserForType()

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

getResourceGroupsTotalCount()

public int getResourceGroupsTotalCount()

Count of all resource groups in the fleet. This includes counts from all pages.

int32 resource_groups_total_count = 2;

Returns
Type Description
int

The resourceGroupsTotalCount.

getResourceTotalCount()

public int getResourceTotalCount()

Count of all resources in the fleet. This includes counts from all pages.

int32 resource_total_count = 3;

Returns
Type Description
int

The resourceTotalCount.

getRows(int index)

public AggregateFleetRow getRows(int index)

Represents a row grouped by the fields in the input.

repeated .google.cloud.databasecenter.v1beta.AggregateFleetRow rows = 1;

Parameter
Name Description
index int
Returns
Type Description
AggregateFleetRow

getRowsCount()

public int getRowsCount()

Represents a row grouped by the fields in the input.

repeated .google.cloud.databasecenter.v1beta.AggregateFleetRow rows = 1;

Returns
Type Description
int

getRowsList()

public List<AggregateFleetRow> getRowsList()

Represents a row grouped by the fields in the input.

repeated .google.cloud.databasecenter.v1beta.AggregateFleetRow rows = 1;

Returns
Type Description
List<AggregateFleetRow>

getRowsOrBuilder(int index)

public AggregateFleetRowOrBuilder getRowsOrBuilder(int index)

Represents a row grouped by the fields in the input.

repeated .google.cloud.databasecenter.v1beta.AggregateFleetRow rows = 1;

Parameter
Name Description
index int
Returns
Type Description
AggregateFleetRowOrBuilder

getRowsOrBuilderList()

public List<? extends AggregateFleetRowOrBuilder> getRowsOrBuilderList()

Represents a row grouped by the fields in the input.

repeated .google.cloud.databasecenter.v1beta.AggregateFleetRow rows = 1;

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnreachable(int index)

public String getUnreachable(int index)

Unordered list. List of unreachable regions from where data could not be retrieved.

repeated string unreachable = 5 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Unordered list. List of unreachable regions from where data could not be retrieved.

repeated string unreachable = 5 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Unordered list. List of unreachable regions from where data could not be retrieved.

repeated string unreachable = 5 [(.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Unordered list. List of unreachable regions from where data could not be retrieved.

repeated string unreachable = 5 [(.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

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 AggregateFleetResponse.Builder newBuilderForType()
Returns
Type Description
AggregateFleetResponse.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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