Class GetConsumerQuotaMetricRequest (2.51.0)

public final class GetConsumerQuotaMetricRequest extends GeneratedMessageV3 implements GetConsumerQuotaMetricRequestOrBuilder

Request message for GetConsumerQuotaMetric

Protobuf type google.api.serviceusage.v1beta1.GetConsumerQuotaMetricRequest

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

VIEW_FIELD_NUMBER

public static final int VIEW_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GetConsumerQuotaMetricRequest getDefaultInstance()
Returns
Type Description
GetConsumerQuotaMetricRequest

getDescriptor()

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

newBuilder()

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

newBuilder(GetConsumerQuotaMetricRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public GetConsumerQuotaMetricRequest getDefaultInstanceForType()
Returns
Type Description
GetConsumerQuotaMetricRequest

getName()

public String getName()

The resource name of the quota limit.

An example name would be: projects/123/services/serviceusage.googleapis.com/quotas/metrics/serviceusage.googleapis.com%2Fmutate_requests

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name of the quota limit.

An example name would be: projects/123/services/serviceusage.googleapis.com/quotas/metrics/serviceusage.googleapis.com%2Fmutate_requests

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getView()

public QuotaView getView()

Specifies the level of detail for quota information in the response.

.google.api.serviceusage.v1beta1.QuotaView view = 2;

Returns
Type Description
QuotaView

The view.

getViewValue()

public int getViewValue()

Specifies the level of detail for quota information in the response.

.google.api.serviceusage.v1beta1.QuotaView view = 2;

Returns
Type Description
int

The enum numeric value on the wire for view.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GetConsumerQuotaMetricRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GetConsumerQuotaMetricRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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