Class GetConsumerQuotaMetricRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GetConsumerQuotaMetricRequest.Builder>
-
- com.google.api.serviceusage.v1beta1.GetConsumerQuotaMetricRequest.Builder
-
- All Implemented Interfaces:
GetConsumerQuotaMetricRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GetConsumerQuotaMetricRequest
public static final class GetConsumerQuotaMetricRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetConsumerQuotaMetricRequest.Builder> implements GetConsumerQuotaMetricRequestOrBuilder
Request message for GetConsumerQuotaMetric
Protobuf typegoogle.api.serviceusage.v1beta1.GetConsumerQuotaMetricRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetConsumerQuotaMetricRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)GetConsumerQuotaMetricRequestbuild()GetConsumerQuotaMetricRequestbuildPartial()GetConsumerQuotaMetricRequest.Builderclear()GetConsumerQuotaMetricRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)GetConsumerQuotaMetricRequest.BuilderclearName()The resource name of the quota limit.GetConsumerQuotaMetricRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)GetConsumerQuotaMetricRequest.BuilderclearView()Specifies the level of detail for quota information in the response.GetConsumerQuotaMetricRequest.Builderclone()GetConsumerQuotaMetricRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetName()The resource name of the quota limit.com.google.protobuf.ByteStringgetNameBytes()The resource name of the quota limit.QuotaViewgetView()Specifies the level of detail for quota information in the response.intgetViewValue()Specifies the level of detail for quota information in the response.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()GetConsumerQuotaMetricRequest.BuildermergeFrom(GetConsumerQuotaMetricRequest other)GetConsumerQuotaMetricRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)GetConsumerQuotaMetricRequest.BuildermergeFrom(com.google.protobuf.Message other)GetConsumerQuotaMetricRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)GetConsumerQuotaMetricRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)GetConsumerQuotaMetricRequest.BuildersetName(String value)The resource name of the quota limit.GetConsumerQuotaMetricRequest.BuildersetNameBytes(com.google.protobuf.ByteString value)The resource name of the quota limit.GetConsumerQuotaMetricRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)GetConsumerQuotaMetricRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)GetConsumerQuotaMetricRequest.BuildersetView(QuotaView value)Specifies the level of detail for quota information in the response.GetConsumerQuotaMetricRequest.BuildersetViewValue(int value)Specifies the level of detail for quota information in the response.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GetConsumerQuotaMetricRequest.Builder>
-
clear
public GetConsumerQuotaMetricRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<GetConsumerQuotaMetricRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<GetConsumerQuotaMetricRequest.Builder>
-
getDefaultInstanceForType
public GetConsumerQuotaMetricRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public GetConsumerQuotaMetricRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GetConsumerQuotaMetricRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GetConsumerQuotaMetricRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GetConsumerQuotaMetricRequest.Builder>
-
setField
public GetConsumerQuotaMetricRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetConsumerQuotaMetricRequest.Builder>
-
clearField
public GetConsumerQuotaMetricRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetConsumerQuotaMetricRequest.Builder>
-
clearOneof
public GetConsumerQuotaMetricRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GetConsumerQuotaMetricRequest.Builder>
-
setRepeatedField
public GetConsumerQuotaMetricRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetConsumerQuotaMetricRequest.Builder>
-
addRepeatedField
public GetConsumerQuotaMetricRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetConsumerQuotaMetricRequest.Builder>
-
mergeFrom
public GetConsumerQuotaMetricRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetConsumerQuotaMetricRequest.Builder>
-
mergeFrom
public GetConsumerQuotaMetricRequest.Builder mergeFrom(GetConsumerQuotaMetricRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GetConsumerQuotaMetricRequest.Builder>
-
mergeFrom
public GetConsumerQuotaMetricRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetConsumerQuotaMetricRequest.Builder>- Throws:
IOException
-
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;- Specified by:
getNamein interfaceGetConsumerQuotaMetricRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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;- Specified by:
getNameBytesin interfaceGetConsumerQuotaMetricRequestOrBuilder- Returns:
- The bytes for name.
-
setName
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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNameBytes
public GetConsumerQuotaMetricRequest.Builder setNameBytes(com.google.protobuf.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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getViewValue
public int getViewValue()
Specifies the level of detail for quota information in the response.
.google.api.serviceusage.v1beta1.QuotaView view = 2;- Specified by:
getViewValuein interfaceGetConsumerQuotaMetricRequestOrBuilder- Returns:
- The enum numeric value on the wire for view.
-
setViewValue
public GetConsumerQuotaMetricRequest.Builder setViewValue(int value)
Specifies the level of detail for quota information in the response.
.google.api.serviceusage.v1beta1.QuotaView view = 2;- Parameters:
value- The enum numeric value on the wire for view to set.- Returns:
- This builder for chaining.
-
getView
public QuotaView getView()
Specifies the level of detail for quota information in the response.
.google.api.serviceusage.v1beta1.QuotaView view = 2;- Specified by:
getViewin interfaceGetConsumerQuotaMetricRequestOrBuilder- Returns:
- The view.
-
setView
public GetConsumerQuotaMetricRequest.Builder setView(QuotaView value)
Specifies the level of detail for quota information in the response.
.google.api.serviceusage.v1beta1.QuotaView view = 2;- Parameters:
value- The view to set.- Returns:
- 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:
- This builder for chaining.
-
setUnknownFields
public final GetConsumerQuotaMetricRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GetConsumerQuotaMetricRequest.Builder>
-
mergeUnknownFields
public final GetConsumerQuotaMetricRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GetConsumerQuotaMetricRequest.Builder>
-
-