Class RegionInstanceGroupManagersSetTemplateRequest.Builder (1.30.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RegionInstanceGroupManagersSetTemplateRequest build()
Returns
TypeDescription
RegionInstanceGroupManagersSetTemplateRequest

buildPartial()

public RegionInstanceGroupManagersSetTemplateRequest buildPartial()
Returns
TypeDescription
RegionInstanceGroupManagersSetTemplateRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RegionInstanceGroupManagersSetTemplateRequest getDefaultInstanceForType()
Returns
TypeDescription
RegionInstanceGroupManagersSetTemplateRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the instanceTemplate field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RegionInstanceGroupManagersSetTemplateRequest other)

public RegionInstanceGroupManagersSetTemplateRequest.Builder mergeFrom(RegionInstanceGroupManagersSetTemplateRequest other)
Parameter
NameDescription
otherRegionInstanceGroupManagersSetTemplateRequest
Returns
TypeDescription
RegionInstanceGroupManagersSetTemplateRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The instanceTemplate to set.

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

The bytes for instanceTemplate to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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