Class GetConsumerQuotaMetricRequest (2.22.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
TypeDescription
int

VIEW_FIELD_NUMBER

public static final int VIEW_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GetConsumerQuotaMetricRequest getDefaultInstance()
Returns
TypeDescription
GetConsumerQuotaMetricRequest

getDescriptor()

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

newBuilder()

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

newBuilder(GetConsumerQuotaMetricRequest prototype)

public static GetConsumerQuotaMetricRequest.Builder newBuilder(GetConsumerQuotaMetricRequest prototype)
Parameter
NameDescription
prototypeGetConsumerQuotaMetricRequest
Returns
TypeDescription
GetConsumerQuotaMetricRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public GetConsumerQuotaMetricRequest getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for view.

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 GetConsumerQuotaMetricRequest.Builder newBuilderForType()
Returns
TypeDescription
GetConsumerQuotaMetricRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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