Class BulkInsertInstanceResourcePerInstanceProperties (1.49.0)

public final class BulkInsertInstanceResourcePerInstanceProperties extends GeneratedMessageV3 implements BulkInsertInstanceResourcePerInstancePropertiesOrBuilder

Per-instance properties to be set on individual instances. To be extended in the future.

Protobuf type google.cloud.compute.v1.BulkInsertInstanceResourcePerInstanceProperties

Inheritance

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

Static Fields

HOSTNAME_FIELD_NUMBER

public static final int HOSTNAME_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 BulkInsertInstanceResourcePerInstanceProperties getDefaultInstance()
Returns
TypeDescription
BulkInsertInstanceResourcePerInstanceProperties

getDescriptor()

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

newBuilder()

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

newBuilder(BulkInsertInstanceResourcePerInstanceProperties prototype)

public static BulkInsertInstanceResourcePerInstanceProperties.Builder newBuilder(BulkInsertInstanceResourcePerInstanceProperties prototype)
Parameter
NameDescription
prototypeBulkInsertInstanceResourcePerInstanceProperties
Returns
TypeDescription
BulkInsertInstanceResourcePerInstanceProperties.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BulkInsertInstanceResourcePerInstanceProperties getDefaultInstanceForType()
Returns
TypeDescription
BulkInsertInstanceResourcePerInstanceProperties

getHostname()

public String getHostname()

Specifies the hostname of the instance. More details in: https://cloud.google.com/compute/docs/instances/custom-hostname-vm#naming_convention

optional string hostname = 237067315;

Returns
TypeDescription
String

The hostname.

getHostnameBytes()

public ByteString getHostnameBytes()

Specifies the hostname of the instance. More details in: https://cloud.google.com/compute/docs/instances/custom-hostname-vm#naming_convention

optional string hostname = 237067315;

Returns
TypeDescription
ByteString

The bytes for hostname.

getName()

public String getName()

This field is only temporary. It will be removed. Do not use it.

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

This field is only temporary. It will be removed. Do not use it.

optional string name = 3373707;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasHostname()

public boolean hasHostname()

Specifies the hostname of the instance. More details in: https://cloud.google.com/compute/docs/instances/custom-hostname-vm#naming_convention

optional string hostname = 237067315;

Returns
TypeDescription
boolean

Whether the hostname field is set.

hasName()

public boolean hasName()

This field is only temporary. It will be removed. Do not use it.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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