Class BulkInsertInstanceResourcePerInstanceProperties.Builder (1.46.0)

public static final class BulkInsertInstanceResourcePerInstanceProperties.Builder extends GeneratedMessageV3.Builder<BulkInsertInstanceResourcePerInstanceProperties.Builder> 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.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BulkInsertInstanceResourcePerInstanceProperties.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BulkInsertInstanceResourcePerInstanceProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BulkInsertInstanceResourcePerInstanceProperties.Builder
Overrides

build()

public BulkInsertInstanceResourcePerInstanceProperties build()
Returns
TypeDescription
BulkInsertInstanceResourcePerInstanceProperties

buildPartial()

public BulkInsertInstanceResourcePerInstanceProperties buildPartial()
Returns
TypeDescription
BulkInsertInstanceResourcePerInstanceProperties

clear()

public BulkInsertInstanceResourcePerInstanceProperties.Builder clear()
Returns
TypeDescription
BulkInsertInstanceResourcePerInstanceProperties.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BulkInsertInstanceResourcePerInstanceProperties.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BulkInsertInstanceResourcePerInstanceProperties.Builder
Overrides

clearHostname()

public BulkInsertInstanceResourcePerInstanceProperties.Builder clearHostname()

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
BulkInsertInstanceResourcePerInstanceProperties.Builder

This builder for chaining.

clearName()

public BulkInsertInstanceResourcePerInstanceProperties.Builder clearName()

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

optional string name = 3373707;

Returns
TypeDescription
BulkInsertInstanceResourcePerInstanceProperties.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BulkInsertInstanceResourcePerInstanceProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BulkInsertInstanceResourcePerInstanceProperties.Builder
Overrides

clone()

public BulkInsertInstanceResourcePerInstanceProperties.Builder clone()
Returns
TypeDescription
BulkInsertInstanceResourcePerInstanceProperties.Builder
Overrides

getDefaultInstanceForType()

public BulkInsertInstanceResourcePerInstanceProperties getDefaultInstanceForType()
Returns
TypeDescription
BulkInsertInstanceResourcePerInstanceProperties

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BulkInsertInstanceResourcePerInstanceProperties other)

public BulkInsertInstanceResourcePerInstanceProperties.Builder mergeFrom(BulkInsertInstanceResourcePerInstanceProperties other)
Parameter
NameDescription
otherBulkInsertInstanceResourcePerInstanceProperties
Returns
TypeDescription
BulkInsertInstanceResourcePerInstanceProperties.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BulkInsertInstanceResourcePerInstanceProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BulkInsertInstanceResourcePerInstanceProperties.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BulkInsertInstanceResourcePerInstanceProperties.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BulkInsertInstanceResourcePerInstanceProperties.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BulkInsertInstanceResourcePerInstanceProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BulkInsertInstanceResourcePerInstanceProperties.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public BulkInsertInstanceResourcePerInstanceProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BulkInsertInstanceResourcePerInstanceProperties.Builder
Overrides

setHostname(String value)

public BulkInsertInstanceResourcePerInstanceProperties.Builder setHostname(String value)

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;

Parameter
NameDescription
valueString

The hostname to set.

Returns
TypeDescription
BulkInsertInstanceResourcePerInstanceProperties.Builder

This builder for chaining.

setHostnameBytes(ByteString value)

public BulkInsertInstanceResourcePerInstanceProperties.Builder setHostnameBytes(ByteString value)

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;

Parameter
NameDescription
valueByteString

The bytes for hostname to set.

Returns
TypeDescription
BulkInsertInstanceResourcePerInstanceProperties.Builder

This builder for chaining.

setName(String value)

public BulkInsertInstanceResourcePerInstanceProperties.Builder setName(String value)

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

optional string name = 3373707;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
BulkInsertInstanceResourcePerInstanceProperties.Builder

This builder for chaining.

setNameBytes(ByteString value)

public BulkInsertInstanceResourcePerInstanceProperties.Builder setNameBytes(ByteString value)

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

optional string name = 3373707;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
BulkInsertInstanceResourcePerInstanceProperties.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BulkInsertInstanceResourcePerInstanceProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BulkInsertInstanceResourcePerInstanceProperties.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BulkInsertInstanceResourcePerInstanceProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BulkInsertInstanceResourcePerInstanceProperties.Builder
Overrides