Class RegionInstanceGroupManagersSetTemplateRequest.Builder (1.55.0)

public static final class RegionInstanceGroupManagersSetTemplateRequest.Builder extends GeneratedMessageV3.Builder<RegionInstanceGroupManagersSetTemplateRequest.Builder> implements RegionInstanceGroupManagersSetTemplateRequestOrBuilder

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersSetTemplateRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RegionInstanceGroupManagersSetTemplateRequest build()
Returns
Type Description
RegionInstanceGroupManagersSetTemplateRequest

buildPartial()

public RegionInstanceGroupManagersSetTemplateRequest buildPartial()
Returns
Type Description
RegionInstanceGroupManagersSetTemplateRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstanceTemplate()

public RegionInstanceGroupManagersSetTemplateRequest.Builder clearInstanceTemplate()

URL of the InstanceTemplate resource from which all new instances will be created.

optional string instance_template = 309248228;

Returns
Type Description
RegionInstanceGroupManagersSetTemplateRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RegionInstanceGroupManagersSetTemplateRequest getDefaultInstanceForType()
Returns
Type Description
RegionInstanceGroupManagersSetTemplateRequest

getDescriptorForType()

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

getInstanceTemplate()

public String getInstanceTemplate()

URL of the InstanceTemplate resource from which all new instances will be created.

optional string instance_template = 309248228;

Returns
Type Description
String

The instanceTemplate.

getInstanceTemplateBytes()

public ByteString getInstanceTemplateBytes()

URL of the InstanceTemplate resource from which all new instances will be created.

optional string instance_template = 309248228;

Returns
Type Description
ByteString

The bytes for instanceTemplate.

hasInstanceTemplate()

public boolean hasInstanceTemplate()

URL of the InstanceTemplate resource from which all new instances will be created.

optional string instance_template = 309248228;

Returns
Type Description
boolean

Whether the instanceTemplate field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RegionInstanceGroupManagersSetTemplateRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstanceTemplate(String value)

public RegionInstanceGroupManagersSetTemplateRequest.Builder setInstanceTemplate(String value)

URL of the InstanceTemplate resource from which all new instances will be created.

optional string instance_template = 309248228;

Parameter
Name Description
value String

The instanceTemplate to set.

Returns
Type Description
RegionInstanceGroupManagersSetTemplateRequest.Builder

This builder for chaining.

setInstanceTemplateBytes(ByteString value)

public RegionInstanceGroupManagersSetTemplateRequest.Builder setInstanceTemplateBytes(ByteString value)

URL of the InstanceTemplate resource from which all new instances will be created.

optional string instance_template = 309248228;

Parameter
Name Description
value ByteString

The bytes for instanceTemplate to set.

Returns
Type Description
RegionInstanceGroupManagersSetTemplateRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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