Class InstanceGroupManagersSetInstanceTemplateRequest (1.31.0)

public final class InstanceGroupManagersSetInstanceTemplateRequest extends GeneratedMessageV3 implements InstanceGroupManagersSetInstanceTemplateRequestOrBuilder

Protobuf type google.cloud.compute.v1.InstanceGroupManagersSetInstanceTemplateRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > InstanceGroupManagersSetInstanceTemplateRequest

Static Fields

INSTANCE_TEMPLATE_FIELD_NUMBER

public static final int INSTANCE_TEMPLATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static InstanceGroupManagersSetInstanceTemplateRequest getDefaultInstance()
Returns
TypeDescription
InstanceGroupManagersSetInstanceTemplateRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static InstanceGroupManagersSetInstanceTemplateRequest.Builder newBuilder()
Returns
TypeDescription
InstanceGroupManagersSetInstanceTemplateRequest.Builder

newBuilder(InstanceGroupManagersSetInstanceTemplateRequest prototype)

public static InstanceGroupManagersSetInstanceTemplateRequest.Builder newBuilder(InstanceGroupManagersSetInstanceTemplateRequest prototype)
Parameter
NameDescription
prototypeInstanceGroupManagersSetInstanceTemplateRequest
Returns
TypeDescription
InstanceGroupManagersSetInstanceTemplateRequest.Builder

parseDelimitedFrom(InputStream input)

public static InstanceGroupManagersSetInstanceTemplateRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InstanceGroupManagersSetInstanceTemplateRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagersSetInstanceTemplateRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceGroupManagersSetInstanceTemplateRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static InstanceGroupManagersSetInstanceTemplateRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
InstanceGroupManagersSetInstanceTemplateRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagersSetInstanceTemplateRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceGroupManagersSetInstanceTemplateRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InstanceGroupManagersSetInstanceTemplateRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
InstanceGroupManagersSetInstanceTemplateRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagersSetInstanceTemplateRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceGroupManagersSetInstanceTemplateRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InstanceGroupManagersSetInstanceTemplateRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
InstanceGroupManagersSetInstanceTemplateRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagersSetInstanceTemplateRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceGroupManagersSetInstanceTemplateRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static InstanceGroupManagersSetInstanceTemplateRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InstanceGroupManagersSetInstanceTemplateRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagersSetInstanceTemplateRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceGroupManagersSetInstanceTemplateRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static InstanceGroupManagersSetInstanceTemplateRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
InstanceGroupManagersSetInstanceTemplateRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InstanceGroupManagersSetInstanceTemplateRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceGroupManagersSetInstanceTemplateRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<InstanceGroupManagersSetInstanceTemplateRequest> parser()
Returns
TypeDescription
Parser<InstanceGroupManagersSetInstanceTemplateRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public InstanceGroupManagersSetInstanceTemplateRequest getDefaultInstanceForType()
Returns
TypeDescription
InstanceGroupManagersSetInstanceTemplateRequest

getInstanceTemplate()

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
TypeDescription
String

The instanceTemplate.

getInstanceTemplateBytes()

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
TypeDescription
ByteString

The bytes for instanceTemplate.

getParserForType()

public Parser<InstanceGroupManagersSetInstanceTemplateRequest> getParserForType()
Returns
TypeDescription
Parser<InstanceGroupManagersSetInstanceTemplateRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasInstanceTemplate()

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
TypeDescription
boolean

Whether the instanceTemplate field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public InstanceGroupManagersSetInstanceTemplateRequest.Builder newBuilderForType()
Returns
TypeDescription
InstanceGroupManagersSetInstanceTemplateRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InstanceGroupManagersSetInstanceTemplateRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
InstanceGroupManagersSetInstanceTemplateRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public InstanceGroupManagersSetInstanceTemplateRequest.Builder toBuilder()
Returns
TypeDescription
InstanceGroupManagersSetInstanceTemplateRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException