public final class InstanceGroupManagersSetInstanceTemplateRequest extends GeneratedMessageV3 implements InstanceGroupManagersSetInstanceTemplateRequestOrBuilder
Protobuf type google.cloud.compute.v1.InstanceGroupManagersSetInstanceTemplateRequest
Static Fields
public static final int INSTANCE_TEMPLATE_FIELD_NUMBER
Field Value
Static Methods
public static InstanceGroupManagersSetInstanceTemplateRequest getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static InstanceGroupManagersSetInstanceTemplateRequest.Builder newBuilder()
Returns
public static InstanceGroupManagersSetInstanceTemplateRequest.Builder newBuilder(InstanceGroupManagersSetInstanceTemplateRequest prototype)
Parameter
Returns
public static InstanceGroupManagersSetInstanceTemplateRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static InstanceGroupManagersSetInstanceTemplateRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InstanceGroupManagersSetInstanceTemplateRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static InstanceGroupManagersSetInstanceTemplateRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InstanceGroupManagersSetInstanceTemplateRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static InstanceGroupManagersSetInstanceTemplateRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InstanceGroupManagersSetInstanceTemplateRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static InstanceGroupManagersSetInstanceTemplateRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InstanceGroupManagersSetInstanceTemplateRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static InstanceGroupManagersSetInstanceTemplateRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InstanceGroupManagersSetInstanceTemplateRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static InstanceGroupManagersSetInstanceTemplateRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<InstanceGroupManagersSetInstanceTemplateRequest> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public InstanceGroupManagersSetInstanceTemplateRequest getDefaultInstanceForType()
Returns
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 Parser<InstanceGroupManagersSetInstanceTemplateRequest> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public InstanceGroupManagersSetInstanceTemplateRequest.Builder newBuilderForType()
Returns
protected InstanceGroupManagersSetInstanceTemplateRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public InstanceGroupManagersSetInstanceTemplateRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions