Class GetConsumerQuotaLimitRequest.Builder (2.22.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetConsumerQuotaLimitRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetConsumerQuotaLimitRequest.Builder
Overrides

build()

public GetConsumerQuotaLimitRequest build()
Returns
TypeDescription
GetConsumerQuotaLimitRequest

buildPartial()

public GetConsumerQuotaLimitRequest buildPartial()
Returns
TypeDescription
GetConsumerQuotaLimitRequest

clear()

public GetConsumerQuotaLimitRequest.Builder clear()
Returns
TypeDescription
GetConsumerQuotaLimitRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetConsumerQuotaLimitRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
GetConsumerQuotaLimitRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetConsumerQuotaLimitRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
GetConsumerQuotaLimitRequest.Builder

This builder for chaining.

clone()

public GetConsumerQuotaLimitRequest.Builder clone()
Returns
TypeDescription
GetConsumerQuotaLimitRequest.Builder
Overrides

getDefaultInstanceForType()

public GetConsumerQuotaLimitRequest getDefaultInstanceForType()
Returns
TypeDescription
GetConsumerQuotaLimitRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetConsumerQuotaLimitRequest other)

public GetConsumerQuotaLimitRequest.Builder mergeFrom(GetConsumerQuotaLimitRequest other)
Parameter
NameDescription
otherGetConsumerQuotaLimitRequest
Returns
TypeDescription
GetConsumerQuotaLimitRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetConsumerQuotaLimitRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetConsumerQuotaLimitRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetConsumerQuotaLimitRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetConsumerQuotaLimitRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetConsumerQuotaLimitRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetConsumerQuotaLimitRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetConsumerQuotaLimitRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetConsumerQuotaLimitRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetConsumerQuotaLimitRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueQuotaView

The view to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
GetConsumerQuotaLimitRequest.Builder

This builder for chaining.