Class ManagedInstanceVersion (1.14.0)

public final class ManagedInstanceVersion extends GeneratedMessageV3 implements ManagedInstanceVersionOrBuilder

Protobuf type google.cloud.compute.v1.ManagedInstanceVersion

Static Fields

INSTANCE_TEMPLATE_FIELD_NUMBER

public static final int INSTANCE_TEMPLATE_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ManagedInstanceVersion getDefaultInstance()
Returns
TypeDescription
ManagedInstanceVersion

getDescriptor()

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

newBuilder()

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

newBuilder(ManagedInstanceVersion prototype)

public static ManagedInstanceVersion.Builder newBuilder(ManagedInstanceVersion prototype)
Parameter
NameDescription
prototypeManagedInstanceVersion
Returns
TypeDescription
ManagedInstanceVersion.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ManagedInstanceVersion getDefaultInstanceForType()
Returns
TypeDescription
ManagedInstanceVersion

getInstanceTemplate()

public String getInstanceTemplate()

[Output Only] The intended template of the instance. This field is empty when current_action is one of { DELETING, ABANDONING }.

optional string instance_template = 309248228;

Returns
TypeDescription
String

The instanceTemplate.

getInstanceTemplateBytes()

public ByteString getInstanceTemplateBytes()

[Output Only] The intended template of the instance. This field is empty when current_action is one of { DELETING, ABANDONING }.

optional string instance_template = 309248228;

Returns
TypeDescription
ByteString

The bytes for instanceTemplate.

getName()

public String getName()

[Output Only] Name of the version.

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

[Output Only] Name of the version.

optional string name = 3373707;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasInstanceTemplate()

public boolean hasInstanceTemplate()

[Output Only] The intended template of the instance. This field is empty when current_action is one of { DELETING, ABANDONING }.

optional string instance_template = 309248228;

Returns
TypeDescription
boolean

Whether the instanceTemplate field is set.

hasName()

public boolean hasName()

[Output Only] Name of the version.

optional string name = 3373707;

Returns
TypeDescription
boolean

Whether the name 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 ManagedInstanceVersion.Builder newBuilderForType()
Returns
TypeDescription
ManagedInstanceVersion.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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