Class ListConsumerQuotaMetricsResponse

public final class ListConsumerQuotaMetricsResponse extends GeneratedMessageV3 implements ListConsumerQuotaMetricsResponseOrBuilder

Response message for ListConsumerQuotaMetrics

Protobuf type google.api.serviceusage.v1beta1.ListConsumerQuotaMetricsResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListConsumerQuotaMetricsResponse

Static Fields

METRICS_FIELD_NUMBER

public static final int METRICS_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListConsumerQuotaMetricsResponse getDefaultInstance()
Returns
TypeDescription
ListConsumerQuotaMetricsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListConsumerQuotaMetricsResponse.Builder newBuilder()
Returns
TypeDescription
ListConsumerQuotaMetricsResponse.Builder

newBuilder(ListConsumerQuotaMetricsResponse prototype)

public static ListConsumerQuotaMetricsResponse.Builder newBuilder(ListConsumerQuotaMetricsResponse prototype)
Parameter
NameDescription
prototypeListConsumerQuotaMetricsResponse
Returns
TypeDescription
ListConsumerQuotaMetricsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListConsumerQuotaMetricsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListConsumerQuotaMetricsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListConsumerQuotaMetricsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListConsumerQuotaMetricsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListConsumerQuotaMetricsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListConsumerQuotaMetricsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListConsumerQuotaMetricsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListConsumerQuotaMetricsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListConsumerQuotaMetricsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListConsumerQuotaMetricsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListConsumerQuotaMetricsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListConsumerQuotaMetricsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListConsumerQuotaMetricsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListConsumerQuotaMetricsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListConsumerQuotaMetricsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListConsumerQuotaMetricsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListConsumerQuotaMetricsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListConsumerQuotaMetricsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListConsumerQuotaMetricsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListConsumerQuotaMetricsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListConsumerQuotaMetricsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListConsumerQuotaMetricsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListConsumerQuotaMetricsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListConsumerQuotaMetricsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListConsumerQuotaMetricsResponse> parser()
Returns
TypeDescription
Parser<ListConsumerQuotaMetricsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListConsumerQuotaMetricsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListConsumerQuotaMetricsResponse

getMetrics(int index)

public ConsumerQuotaMetric getMetrics(int index)

Quota settings for the consumer, organized by quota metric.

repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConsumerQuotaMetric

getMetricsCount()

public int getMetricsCount()

Quota settings for the consumer, organized by quota metric.

repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;

Returns
TypeDescription
int

getMetricsList()

public List<ConsumerQuotaMetric> getMetricsList()

Quota settings for the consumer, organized by quota metric.

repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;

Returns
TypeDescription
List<ConsumerQuotaMetric>

getMetricsOrBuilder(int index)

public ConsumerQuotaMetricOrBuilder getMetricsOrBuilder(int index)

Quota settings for the consumer, organized by quota metric.

repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConsumerQuotaMetricOrBuilder

getMetricsOrBuilderList()

public List<? extends ConsumerQuotaMetricOrBuilder> getMetricsOrBuilderList()

Quota settings for the consumer, organized by quota metric.

repeated .google.api.serviceusage.v1beta1.ConsumerQuotaMetric metrics = 1;

Returns
TypeDescription
List<? extends com.google.api.serviceusage.v1beta1.ConsumerQuotaMetricOrBuilder>

getNextPageToken()

public String getNextPageToken()

Token identifying which result to start with; returned by a previous list call.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token identifying which result to start with; returned by a previous list call.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListConsumerQuotaMetricsResponse> getParserForType()
Returns
TypeDescription
Parser<ListConsumerQuotaMetricsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListConsumerQuotaMetricsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListConsumerQuotaMetricsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListConsumerQuotaMetricsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListConsumerQuotaMetricsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListConsumerQuotaMetricsResponse.Builder toBuilder()
Returns
TypeDescription
ListConsumerQuotaMetricsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException