Class SoleTenantNodeType (0.17.0)

public final class SoleTenantNodeType extends GeneratedMessageV3 implements SoleTenantNodeTypeOrBuilder

A Sole Tenant node type.

Protobuf type google.cloud.migrationcenter.v1.SoleTenantNodeType

Static Fields

NODE_NAME_FIELD_NUMBER

public static final int NODE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SoleTenantNodeType getDefaultInstance()
Returns
TypeDescription
SoleTenantNodeType

getDescriptor()

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

newBuilder()

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

newBuilder(SoleTenantNodeType prototype)

public static SoleTenantNodeType.Builder newBuilder(SoleTenantNodeType prototype)
Parameter
NameDescription
prototypeSoleTenantNodeType
Returns
TypeDescription
SoleTenantNodeType.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SoleTenantNodeType getDefaultInstanceForType()
Returns
TypeDescription
SoleTenantNodeType

getNodeName()

public String getNodeName()

Name of the Sole Tenant node. Consult https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes

string node_name = 1;

Returns
TypeDescription
String

The nodeName.

getNodeNameBytes()

public ByteString getNodeNameBytes()

Name of the Sole Tenant node. Consult https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes

string node_name = 1;

Returns
TypeDescription
ByteString

The bytes for nodeName.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 SoleTenantNodeType.Builder newBuilderForType()
Returns
TypeDescription
SoleTenantNodeType.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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