Class GetRegionAutoscalerRequest.Builder (1.54.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetRegionAutoscalerRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetRegionAutoscalerRequest.Builder
Overrides

build()

public GetRegionAutoscalerRequest build()
Returns
Type Description
GetRegionAutoscalerRequest

buildPartial()

public GetRegionAutoscalerRequest buildPartial()
Returns
Type Description
GetRegionAutoscalerRequest

clear()

public GetRegionAutoscalerRequest.Builder clear()
Returns
Type Description
GetRegionAutoscalerRequest.Builder
Overrides

clearAutoscaler()

public GetRegionAutoscalerRequest.Builder clearAutoscaler()

Name of the autoscaler to return.

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

Returns
Type Description
GetRegionAutoscalerRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GetRegionAutoscalerRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetRegionAutoscalerRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GetRegionAutoscalerRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetRegionAutoscalerRequest.Builder
Overrides

clearProject()

public GetRegionAutoscalerRequest.Builder clearProject()

Project ID for this request.

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

Returns
Type Description
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
Type Description
GetRegionAutoscalerRequest.Builder

This builder for chaining.

clone()

public GetRegionAutoscalerRequest.Builder clone()
Returns
Type Description
GetRegionAutoscalerRequest.Builder
Overrides

getAutoscaler()

public String getAutoscaler()

Name of the autoscaler to return.

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

Returns
Type Description
String

The autoscaler.

getAutoscalerBytes()

public ByteString getAutoscalerBytes()

Name of the autoscaler to return.

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

Returns
Type Description
ByteString

The bytes for autoscaler.

getDefaultInstanceForType()

public GetRegionAutoscalerRequest getDefaultInstanceForType()
Returns
Type Description
GetRegionAutoscalerRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getProject()

public String getProject()

Project ID for this request.

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

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for this request.

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

Returns
Type Description
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
Type Description
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Name of the region scoping this request.

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

Returns
Type Description
ByteString

The bytes for region.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetRegionAutoscalerRequest other)

public GetRegionAutoscalerRequest.Builder mergeFrom(GetRegionAutoscalerRequest other)
Parameter
Name Description
other GetRegionAutoscalerRequest
Returns
Type Description
GetRegionAutoscalerRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetRegionAutoscalerRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetRegionAutoscalerRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetRegionAutoscalerRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetRegionAutoscalerRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetRegionAutoscalerRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value String

The autoscaler to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for autoscaler to set.

Returns
Type Description
GetRegionAutoscalerRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GetRegionAutoscalerRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The project to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
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
Name Description
value String

The region to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for region to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetRegionAutoscalerRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetRegionAutoscalerRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetRegionAutoscalerRequest.Builder
Overrides