Class GetQuotaInfoRequest.Builder (0.9.0)

public static final class GetQuotaInfoRequest.Builder extends GeneratedMessageV3.Builder<GetQuotaInfoRequest.Builder> implements GetQuotaInfoRequestOrBuilder

Message for getting a QuotaInfo

Protobuf type google.api.cloudquotas.v1.GetQuotaInfoRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetQuotaInfoRequest build()
Returns
TypeDescription
GetQuotaInfoRequest

buildPartial()

public GetQuotaInfoRequest buildPartial()
Returns
TypeDescription
GetQuotaInfoRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetQuotaInfoRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetQuotaInfoRequest.Builder
Overrides

clearName()

public GetQuotaInfoRequest.Builder clearName()

Required. The resource name of the quota info.

An example name: projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
GetQuotaInfoRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetQuotaInfoRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetQuotaInfoRequest.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public GetQuotaInfoRequest getDefaultInstanceForType()
Returns
TypeDescription
GetQuotaInfoRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The resource name of the quota info.

An example name: projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the quota info.

An example name: projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetQuotaInfoRequest other)

public GetQuotaInfoRequest.Builder mergeFrom(GetQuotaInfoRequest other)
Parameter
NameDescription
otherGetQuotaInfoRequest
Returns
TypeDescription
GetQuotaInfoRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetQuotaInfoRequest.Builder setName(String value)

Required. The resource name of the quota info.

An example name: projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetQuotaInfoRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetQuotaInfoRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the quota info.

An example name: projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetQuotaInfoRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetQuotaInfoRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetQuotaInfoRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetQuotaInfoRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetQuotaInfoRequest.Builder
Overrides