Class BulkInsertInstanceResourcePerInstanceProperties (1.52.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
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BulkInsertInstanceResourcePerInstanceProperties getDefaultInstance()
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BulkInsertInstanceResourcePerInstanceProperties.Builder newBuilder()
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties.Builder

newBuilder(BulkInsertInstanceResourcePerInstanceProperties prototype)

public static BulkInsertInstanceResourcePerInstanceProperties.Builder newBuilder(BulkInsertInstanceResourcePerInstanceProperties prototype)
Parameter
Name Description
prototype BulkInsertInstanceResourcePerInstanceProperties
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties.Builder

parseDelimitedFrom(InputStream input)

public static BulkInsertInstanceResourcePerInstanceProperties parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BulkInsertInstanceResourcePerInstanceProperties parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BulkInsertInstanceResourcePerInstanceProperties parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BulkInsertInstanceResourcePerInstanceProperties parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BulkInsertInstanceResourcePerInstanceProperties parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BulkInsertInstanceResourcePerInstanceProperties parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BulkInsertInstanceResourcePerInstanceProperties parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BulkInsertInstanceResourcePerInstanceProperties parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BulkInsertInstanceResourcePerInstanceProperties parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BulkInsertInstanceResourcePerInstanceProperties parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BulkInsertInstanceResourcePerInstanceProperties parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BulkInsertInstanceResourcePerInstanceProperties parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BulkInsertInstanceResourcePerInstanceProperties> parser()
Returns
Type Description
Parser<BulkInsertInstanceResourcePerInstanceProperties>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BulkInsertInstanceResourcePerInstanceProperties getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<BulkInsertInstanceResourcePerInstanceProperties> getParserForType()
Returns
Type Description
Parser<BulkInsertInstanceResourcePerInstanceProperties>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the name field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BulkInsertInstanceResourcePerInstanceProperties.Builder newBuilderForType()
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BulkInsertInstanceResourcePerInstanceProperties.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BulkInsertInstanceResourcePerInstanceProperties.Builder toBuilder()
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException