Class GetRegionAutoscalerRequest.Builder (1.20.0)

public static final class GetRegionAutoscalerRequest.Builder extends GeneratedMessageV3.Builder<GetRegionAutoscalerRequest.Builder> implements GetRegionAutoscalerRequestOrBuilder

A request message for RegionAutoscalers.Get. See the method description for details.

Protobuf type google.cloud.compute.v1.GetRegionAutoscalerRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetRegionAutoscalerRequest build()
Returns
TypeDescription
GetRegionAutoscalerRequest

buildPartial()

public GetRegionAutoscalerRequest buildPartial()
Returns
TypeDescription
GetRegionAutoscalerRequest

clear()

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

clearAutoscaler()

public GetRegionAutoscalerRequest.Builder clearAutoscaler()

Name of the autoscaler to return.

string autoscaler = 517258967 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GetRegionAutoscalerRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetRegionAutoscalerRequest.Builder clearProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GetRegionAutoscalerRequest.Builder

This builder for chaining.

clearRegion()

public GetRegionAutoscalerRequest.Builder clearRegion()

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GetRegionAutoscalerRequest.Builder

This builder for chaining.

clone()

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

getAutoscaler()

public String getAutoscaler()

Name of the autoscaler to return.

string autoscaler = 517258967 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The autoscaler.

getAutoscalerBytes()

public ByteString getAutoscalerBytes()

Name of the autoscaler to return.

string autoscaler = 517258967 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for autoscaler.

getDefaultInstanceForType()

public GetRegionAutoscalerRequest getDefaultInstanceForType()
Returns
TypeDescription
GetRegionAutoscalerRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getProject()

public String getProject()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for project.

getRegion()

public String getRegion()

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for region.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetRegionAutoscalerRequest other)

public GetRegionAutoscalerRequest.Builder mergeFrom(GetRegionAutoscalerRequest other)
Parameter
NameDescription
otherGetRegionAutoscalerRequest
Returns
TypeDescription
GetRegionAutoscalerRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAutoscaler(String value)

public GetRegionAutoscalerRequest.Builder setAutoscaler(String value)

Name of the autoscaler to return.

string autoscaler = 517258967 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The autoscaler to set.

Returns
TypeDescription
GetRegionAutoscalerRequest.Builder

This builder for chaining.

setAutoscalerBytes(ByteString value)

public GetRegionAutoscalerRequest.Builder setAutoscalerBytes(ByteString value)

Name of the autoscaler to return.

string autoscaler = 517258967 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for autoscaler to set.

Returns
TypeDescription
GetRegionAutoscalerRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setProject(String value)

public GetRegionAutoscalerRequest.Builder setProject(String value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The project to set.

Returns
TypeDescription
GetRegionAutoscalerRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetRegionAutoscalerRequest.Builder setProjectBytes(ByteString value)

Project ID for this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for project to set.

Returns
TypeDescription
GetRegionAutoscalerRequest.Builder

This builder for chaining.

setRegion(String value)

public GetRegionAutoscalerRequest.Builder setRegion(String value)

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The region to set.

Returns
TypeDescription
GetRegionAutoscalerRequest.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public GetRegionAutoscalerRequest.Builder setRegionBytes(ByteString value)

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for region to set.

Returns
TypeDescription
GetRegionAutoscalerRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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