Class GetConsumerQuotaLimitRequest.Builder (2.51.0)

public static final class GetConsumerQuotaLimitRequest.Builder extends GeneratedMessageV3.Builder<GetConsumerQuotaLimitRequest.Builder> implements GetConsumerQuotaLimitRequestOrBuilder

Request message for GetConsumerQuotaLimit

Protobuf type google.api.serviceusage.v1beta1.GetConsumerQuotaLimitRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetConsumerQuotaLimitRequest build()
Returns
Type Description
GetConsumerQuotaLimitRequest

buildPartial()

public GetConsumerQuotaLimitRequest buildPartial()
Returns
Type Description
GetConsumerQuotaLimitRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetConsumerQuotaLimitRequest.Builder clearName()

The resource name of the quota limit.

Use the quota limit resource name returned by previous ListConsumerQuotaMetrics and GetConsumerQuotaMetric API calls.

string name = 1;

Returns
Type Description
GetConsumerQuotaLimitRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearView()

public GetConsumerQuotaLimitRequest.Builder clearView()

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

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

Returns
Type Description
GetConsumerQuotaLimitRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetConsumerQuotaLimitRequest getDefaultInstanceForType()
Returns
Type Description
GetConsumerQuotaLimitRequest

getDescriptorForType()

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

getName()

public String getName()

The resource name of the quota limit.

Use the quota limit resource name returned by previous ListConsumerQuotaMetrics and GetConsumerQuotaMetric API calls.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name of the quota limit.

Use the quota limit resource name returned by previous ListConsumerQuotaMetrics and GetConsumerQuotaMetric API calls.

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(GetConsumerQuotaLimitRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetConsumerQuotaLimitRequest.Builder setName(String value)

The resource name of the quota limit.

Use the quota limit resource name returned by previous ListConsumerQuotaMetrics and GetConsumerQuotaMetric API calls.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetConsumerQuotaLimitRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetConsumerQuotaLimitRequest.Builder setNameBytes(ByteString value)

The resource name of the quota limit.

Use the quota limit resource name returned by previous ListConsumerQuotaMetrics and GetConsumerQuotaMetric API calls.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetConsumerQuotaLimitRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setView(QuotaView value)

public GetConsumerQuotaLimitRequest.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
GetConsumerQuotaLimitRequest.Builder

This builder for chaining.

setViewValue(int value)

public GetConsumerQuotaLimitRequest.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
GetConsumerQuotaLimitRequest.Builder

This builder for chaining.