Class GetConsumerQuotaMetricRequest.Builder (2.52.0)

public static final class GetConsumerQuotaMetricRequest.Builder extends GeneratedMessageV3.Builder<GetConsumerQuotaMetricRequest.Builder> implements GetConsumerQuotaMetricRequestOrBuilder

Request message for GetConsumerQuotaMetric

Protobuf type google.api.serviceusage.v1beta1.GetConsumerQuotaMetricRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetConsumerQuotaMetricRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetConsumerQuotaMetricRequest.Builder
Overrides

build()

public GetConsumerQuotaMetricRequest build()
Returns
Type Description
GetConsumerQuotaMetricRequest

buildPartial()

public GetConsumerQuotaMetricRequest buildPartial()
Returns
Type Description
GetConsumerQuotaMetricRequest

clear()

public GetConsumerQuotaMetricRequest.Builder clear()
Returns
Type Description
GetConsumerQuotaMetricRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetConsumerQuotaMetricRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetConsumerQuotaMetricRequest.Builder
Overrides

clearName()

public GetConsumerQuotaMetricRequest.Builder clearName()

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
GetConsumerQuotaMetricRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetConsumerQuotaMetricRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetConsumerQuotaMetricRequest.Builder
Overrides

clearView()

public GetConsumerQuotaMetricRequest.Builder clearView()

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

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

Returns
Type Description
GetConsumerQuotaMetricRequest.Builder

This builder for chaining.

clone()

public GetConsumerQuotaMetricRequest.Builder clone()
Returns
Type Description
GetConsumerQuotaMetricRequest.Builder
Overrides

getDefaultInstanceForType()

public GetConsumerQuotaMetricRequest getDefaultInstanceForType()
Returns
Type Description
GetConsumerQuotaMetricRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetConsumerQuotaMetricRequest other)

public GetConsumerQuotaMetricRequest.Builder mergeFrom(GetConsumerQuotaMetricRequest other)
Parameter
Name Description
other GetConsumerQuotaMetricRequest
Returns
Type Description
GetConsumerQuotaMetricRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetConsumerQuotaMetricRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetConsumerQuotaMetricRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetConsumerQuotaMetricRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetConsumerQuotaMetricRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetConsumerQuotaMetricRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetConsumerQuotaMetricRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetConsumerQuotaMetricRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetConsumerQuotaMetricRequest.Builder
Overrides

setName(String value)

public GetConsumerQuotaMetricRequest.Builder setName(String value)

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;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetConsumerQuotaMetricRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetConsumerQuotaMetricRequest.Builder setNameBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetConsumerQuotaMetricRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetConsumerQuotaMetricRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetConsumerQuotaMetricRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetConsumerQuotaMetricRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetConsumerQuotaMetricRequest.Builder
Overrides

setView(QuotaView value)

public GetConsumerQuotaMetricRequest.Builder setView(QuotaView value)

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

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

Parameter
Name Description
value QuotaView

The view to set.

Returns
Type Description
GetConsumerQuotaMetricRequest.Builder

This builder for chaining.

setViewValue(int value)

public GetConsumerQuotaMetricRequest.Builder setViewValue(int value)

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

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

Parameter
Name Description
value int

The enum numeric value on the wire for view to set.

Returns
Type Description
GetConsumerQuotaMetricRequest.Builder

This builder for chaining.