public static final class GetConsumerQuotaMetricRequest.Builder extends GeneratedMessage.Builder<GetConsumerQuotaMetricRequest.Builder> implements GetConsumerQuotaMetricRequestOrBuilderRequest message for GetConsumerQuotaMetric
Protobuf type google.api.serviceusage.v1beta1.GetConsumerQuotaMetricRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetConsumerQuotaMetricRequest.BuilderImplements
GetConsumerQuotaMetricRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetConsumerQuotaMetricRequest build()| Returns | |
|---|---|
| Type | Description |
GetConsumerQuotaMetricRequest |
|
buildPartial()
public GetConsumerQuotaMetricRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetConsumerQuotaMetricRequest |
|
clear()
public GetConsumerQuotaMetricRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetConsumerQuotaMetricRequest.Builder |
|
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 | |
|---|---|
| Type | Description |
GetConsumerQuotaMetricRequest.Builder |
This builder for chaining. |
clearView()
public GetConsumerQuotaMetricRequest.Builder clearView()Specifies the level of detail for quota information in the response.
.google.api.serviceusage.v1beta1.QuotaView view = 2;
| Returns | |
|---|---|
| Type | Description |
GetConsumerQuotaMetricRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetConsumerQuotaMetricRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetConsumerQuotaMetricRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| 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;
| 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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetConsumerQuotaMetricRequest other)
public GetConsumerQuotaMetricRequest.Builder mergeFrom(GetConsumerQuotaMetricRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetConsumerQuotaMetricRequest |
| Returns | |
|---|---|
| Type | Description |
GetConsumerQuotaMetricRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetConsumerQuotaMetricRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetConsumerQuotaMetricRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetConsumerQuotaMetricRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetConsumerQuotaMetricRequest.Builder |
|
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 |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
GetConsumerQuotaMetricRequest.Builder |
This builder for chaining. |
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 |
QuotaViewThe view to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for view to set. |
| Returns | |
|---|---|
| Type | Description |
GetConsumerQuotaMetricRequest.Builder |
This builder for chaining. |