public static final class InstanceGroupManagersSetInstanceTemplateRequest.Builder extends GeneratedMessageV3.Builder<InstanceGroupManagersSetInstanceTemplateRequest.Builder> implements InstanceGroupManagersSetInstanceTemplateRequestOrBuilder
Protobuf type google.cloud.compute.v1.InstanceGroupManagersSetInstanceTemplateRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public InstanceGroupManagersSetInstanceTemplateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public InstanceGroupManagersSetInstanceTemplateRequest build()
public InstanceGroupManagersSetInstanceTemplateRequest buildPartial()
public InstanceGroupManagersSetInstanceTemplateRequest.Builder clear()
Overrides
public InstanceGroupManagersSetInstanceTemplateRequest.Builder clearField(Descriptors.FieldDescriptor field)
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;
public InstanceGroupManagersSetInstanceTemplateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public InstanceGroupManagersSetInstanceTemplateRequest.Builder clone()
Overrides
public InstanceGroupManagersSetInstanceTemplateRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
public final boolean isInitialized()
Overrides
public InstanceGroupManagersSetInstanceTemplateRequest.Builder mergeFrom(InstanceGroupManagersSetInstanceTemplateRequest other)
public InstanceGroupManagersSetInstanceTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public InstanceGroupManagersSetInstanceTemplateRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final InstanceGroupManagersSetInstanceTemplateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public InstanceGroupManagersSetInstanceTemplateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public InstanceGroupManagersSetInstanceTemplateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final InstanceGroupManagersSetInstanceTemplateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides