Class GetConsumerQuotaLimitRequest.Builder (2.83.0)

public static final class GetConsumerQuotaLimitRequest.Builder extends GeneratedMessage.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

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

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.

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.

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 GeneratedMessage.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

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.

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.