public static final class GetConsumerQuotaMetricRequest.Builder extends GeneratedMessageV3.Builder<GetConsumerQuotaMetricRequest.Builder> implements GetConsumerQuotaMetricRequestOrBuilder
Request message for GetConsumerQuotaMetric
Protobuf type google.api.serviceusage.v1beta1.GetConsumerQuotaMetricRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetConsumerQuotaMetricRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GetConsumerQuotaMetricRequest build()
buildPartial()
public GetConsumerQuotaMetricRequest buildPartial()
clear()
public GetConsumerQuotaMetricRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public GetConsumerQuotaMetricRequest.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public GetConsumerQuotaMetricRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearView()
public GetConsumerQuotaMetricRequest.Builder clearView()
Specifies the level of detail for quota information in the response.
.google.api.serviceusage.v1beta1.QuotaView view = 2;
clone()
public GetConsumerQuotaMetricRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public GetConsumerQuotaMetricRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GetConsumerQuotaMetricRequest other)
public GetConsumerQuotaMetricRequest.Builder mergeFrom(GetConsumerQuotaMetricRequest other)
public GetConsumerQuotaMetricRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GetConsumerQuotaMetricRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetConsumerQuotaMetricRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GetConsumerQuotaMetricRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetConsumerQuotaMetricRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetConsumerQuotaMetricRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|