Class GetInstanceGroupManagerRequest.Builder (1.32.0)

public static final class GetInstanceGroupManagerRequest.Builder extends GeneratedMessageV3.Builder<GetInstanceGroupManagerRequest.Builder> implements GetInstanceGroupManagerRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.GetInstanceGroupManagerRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetInstanceGroupManagerRequest build()
Returns
TypeDescription
GetInstanceGroupManagerRequest

buildPartial()

public GetInstanceGroupManagerRequest buildPartial()
Returns
TypeDescription
GetInstanceGroupManagerRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstanceGroupManager()

public GetInstanceGroupManagerRequest.Builder clearInstanceGroupManager()

The name of the managed instance group.

string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GetInstanceGroupManagerRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public GetInstanceGroupManagerRequest.Builder clearProject()

Project ID for this request.

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

Returns
TypeDescription
GetInstanceGroupManagerRequest.Builder

This builder for chaining.

clearZone()

public GetInstanceGroupManagerRequest.Builder clearZone()

The name of the zone where the managed instance group is located.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GetInstanceGroupManagerRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetInstanceGroupManagerRequest getDefaultInstanceForType()
Returns
TypeDescription
GetInstanceGroupManagerRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstanceGroupManager()

public String getInstanceGroupManager()

The name of the managed instance group.

string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The instanceGroupManager.

getInstanceGroupManagerBytes()

public ByteString getInstanceGroupManagerBytes()

The name of the managed instance group.

string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for instanceGroupManager.

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.

getZone()

public String getZone()

The name of the zone where the managed instance group is located.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

The name of the zone where the managed instance group is located.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for zone.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetInstanceGroupManagerRequest other)

public GetInstanceGroupManagerRequest.Builder mergeFrom(GetInstanceGroupManagerRequest other)
Parameter
NameDescription
otherGetInstanceGroupManagerRequest
Returns
TypeDescription
GetInstanceGroupManagerRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstanceGroupManager(String value)

public GetInstanceGroupManagerRequest.Builder setInstanceGroupManager(String value)

The name of the managed instance group.

string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The instanceGroupManager to set.

Returns
TypeDescription
GetInstanceGroupManagerRequest.Builder

This builder for chaining.

setInstanceGroupManagerBytes(ByteString value)

public GetInstanceGroupManagerRequest.Builder setInstanceGroupManagerBytes(ByteString value)

The name of the managed instance group.

string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for instanceGroupManager to set.

Returns
TypeDescription
GetInstanceGroupManagerRequest.Builder

This builder for chaining.

setProject(String value)

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

This builder for chaining.

setProjectBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setZone(String value)

public GetInstanceGroupManagerRequest.Builder setZone(String value)

The name of the zone where the managed instance group is located.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The zone to set.

Returns
TypeDescription
GetInstanceGroupManagerRequest.Builder

This builder for chaining.

setZoneBytes(ByteString value)

public GetInstanceGroupManagerRequest.Builder setZoneBytes(ByteString value)

The name of the zone where the managed instance group is located.

string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for zone to set.

Returns
TypeDescription
GetInstanceGroupManagerRequest.Builder

This builder for chaining.