Class GetRegionInstanceGroupRequest.Builder (1.53.0)

public static final class GetRegionInstanceGroupRequest.Builder extends GeneratedMessageV3.Builder<GetRegionInstanceGroupRequest.Builder> implements GetRegionInstanceGroupRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.GetRegionInstanceGroupRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetRegionInstanceGroupRequest build()
Returns
Type Description
GetRegionInstanceGroupRequest

buildPartial()

public GetRegionInstanceGroupRequest buildPartial()
Returns
Type Description
GetRegionInstanceGroupRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstanceGroup()

public GetRegionInstanceGroupRequest.Builder clearInstanceGroup()

Name of the instance group resource to return.

string instance_group = 81095253 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetRegionInstanceGroupRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetRegionInstanceGroupRequest.Builder clearProject()

Project ID for this request.

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

Returns
Type Description
GetRegionInstanceGroupRequest.Builder

This builder for chaining.

clearRegion()

public GetRegionInstanceGroupRequest.Builder clearRegion()

Name of the region scoping this request.

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

Returns
Type Description
GetRegionInstanceGroupRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetRegionInstanceGroupRequest getDefaultInstanceForType()
Returns
Type Description
GetRegionInstanceGroupRequest

getDescriptorForType()

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

getInstanceGroup()

public String getInstanceGroup()

Name of the instance group resource to return.

string instance_group = 81095253 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The instanceGroup.

getInstanceGroupBytes()

public ByteString getInstanceGroupBytes()

Name of the instance group resource to return.

string instance_group = 81095253 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for instanceGroup.

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(GetRegionInstanceGroupRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetRegionInstanceGroupRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetRegionInstanceGroupRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstanceGroup(String value)

public GetRegionInstanceGroupRequest.Builder setInstanceGroup(String value)

Name of the instance group resource to return.

string instance_group = 81095253 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The instanceGroup to set.

Returns
Type Description
GetRegionInstanceGroupRequest.Builder

This builder for chaining.

setInstanceGroupBytes(ByteString value)

public GetRegionInstanceGroupRequest.Builder setInstanceGroupBytes(ByteString value)

Name of the instance group resource to return.

string instance_group = 81095253 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for instanceGroup to set.

Returns
Type Description
GetRegionInstanceGroupRequest.Builder

This builder for chaining.

setProject(String value)

public GetRegionInstanceGroupRequest.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
GetRegionInstanceGroupRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetRegionInstanceGroupRequest.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
GetRegionInstanceGroupRequest.Builder

This builder for chaining.

setRegion(String value)

public GetRegionInstanceGroupRequest.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
GetRegionInstanceGroupRequest.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public GetRegionInstanceGroupRequest.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
GetRegionInstanceGroupRequest.Builder

This builder for chaining.

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

public GetRegionInstanceGroupRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetRegionInstanceGroupRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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