Class GetConsumerQuotaMetricRequest.Builder (2.2.8)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetConsumerQuotaMetricRequest build()
Returns
TypeDescription
GetConsumerQuotaMetricRequest

buildPartial()

public GetConsumerQuotaMetricRequest buildPartial()
Returns
TypeDescription
GetConsumerQuotaMetricRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetConsumerQuotaMetricRequest getDefaultInstanceForType()
Returns
TypeDescription
GetConsumerQuotaMetricRequest

getDescriptorForType()

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

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

public GetConsumerQuotaMetricRequest.Builder mergeFrom(GetConsumerQuotaMetricRequest other)
Parameter
NameDescription
otherGetConsumerQuotaMetricRequest
Returns
TypeDescription
GetConsumerQuotaMetricRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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

The view to set.

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

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

Returns
TypeDescription
GetConsumerQuotaMetricRequest.Builder

This builder for chaining.