public static final class InstanceGroupManagersSetInstanceTemplateRequest.Builder extends GeneratedMessageV3.Builder<InstanceGroupManagersSetInstanceTemplateRequest.Builder> implements InstanceGroupManagersSetInstanceTemplateRequestOrBuilder
Protobuf type google.cloud.compute.v1.InstanceGroupManagersSetInstanceTemplateRequest
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public InstanceGroupManagersSetInstanceTemplateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public InstanceGroupManagersSetInstanceTemplateRequest build()
Returns
public InstanceGroupManagersSetInstanceTemplateRequest buildPartial()
Returns
public InstanceGroupManagersSetInstanceTemplateRequest.Builder clear()
Returns
Overrides
public InstanceGroupManagersSetInstanceTemplateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public InstanceGroupManagersSetInstanceTemplateRequest.Builder clearInstanceTemplate()
The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE.
optional string instance_template = 309248228;
Returns
public InstanceGroupManagersSetInstanceTemplateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public InstanceGroupManagersSetInstanceTemplateRequest.Builder clone()
Returns
Overrides
public InstanceGroupManagersSetInstanceTemplateRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public String getInstanceTemplate()
The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE.
optional string instance_template = 309248228;
Returns
Type | Description |
String | The instanceTemplate.
|
public ByteString getInstanceTemplateBytes()
The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE.
optional string instance_template = 309248228;
Returns
Type | Description |
ByteString | The bytes for instanceTemplate.
|
public boolean hasInstanceTemplate()
The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE.
optional string instance_template = 309248228;
Returns
Type | Description |
boolean | Whether the instanceTemplate field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public InstanceGroupManagersSetInstanceTemplateRequest.Builder mergeFrom(InstanceGroupManagersSetInstanceTemplateRequest other)
Parameter
Returns
public InstanceGroupManagersSetInstanceTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public InstanceGroupManagersSetInstanceTemplateRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final InstanceGroupManagersSetInstanceTemplateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public InstanceGroupManagersSetInstanceTemplateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public InstanceGroupManagersSetInstanceTemplateRequest.Builder setInstanceTemplate(String value)
The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE.
optional string instance_template = 309248228;
Parameter
Name | Description |
value | String
The instanceTemplate to set.
|
Returns
public InstanceGroupManagersSetInstanceTemplateRequest.Builder setInstanceTemplateBytes(ByteString value)
The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE.
optional string instance_template = 309248228;
Parameter
Name | Description |
value | ByteString
The bytes for instanceTemplate to set.
|
Returns
public InstanceGroupManagersSetInstanceTemplateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final InstanceGroupManagersSetInstanceTemplateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides