Class GetRegionInstanceGroupRequest.Builder (1.16.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetRegionInstanceGroupRequest build()
Returns
TypeDescription
GetRegionInstanceGroupRequest

buildPartial()

public GetRegionInstanceGroupRequest buildPartial()
Returns
TypeDescription
GetRegionInstanceGroupRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetRegionInstanceGroupRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
GetRegionInstanceGroupRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetRegionInstanceGroupRequest.Builder clearProject()

Project ID for this request.

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

Returns
TypeDescription
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
TypeDescription
GetRegionInstanceGroupRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetRegionInstanceGroupRequest getDefaultInstanceForType()
Returns
TypeDescription
GetRegionInstanceGroupRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstanceGroup()

public String getInstanceGroup()

Name of the instance group resource to return.

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

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for instanceGroup.

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

public GetRegionInstanceGroupRequest.Builder mergeFrom(GetRegionInstanceGroupRequest other)
Parameter
NameDescription
otherGetRegionInstanceGroupRequest
Returns
TypeDescription
GetRegionInstanceGroupRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public GetRegionInstanceGroupRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The instanceGroup to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for instanceGroup to set.

Returns
TypeDescription
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
NameDescription
valueString

The project to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for project to set.

Returns
TypeDescription
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
NameDescription
valueString

The region to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for region to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetRegionInstanceGroupRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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