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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BulkInsertInstanceResourcePerInstanceProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties.Builder
Overrides

build()

public BulkInsertInstanceResourcePerInstanceProperties build()
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties

buildPartial()

public BulkInsertInstanceResourcePerInstanceProperties buildPartial()
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties

clear()

public BulkInsertInstanceResourcePerInstanceProperties.Builder clear()
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BulkInsertInstanceResourcePerInstanceProperties.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
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
Type Description
BulkInsertInstanceResourcePerInstanceProperties.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BulkInsertInstanceResourcePerInstanceProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties.Builder
Overrides

clone()

public BulkInsertInstanceResourcePerInstanceProperties.Builder clone()
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties.Builder
Overrides

getDefaultInstanceForType()

public BulkInsertInstanceResourcePerInstanceProperties getDefaultInstanceForType()
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BulkInsertInstanceResourcePerInstanceProperties other)

public BulkInsertInstanceResourcePerInstanceProperties.Builder mergeFrom(BulkInsertInstanceResourcePerInstanceProperties other)
Parameter
Name Description
other BulkInsertInstanceResourcePerInstanceProperties
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BulkInsertInstanceResourcePerInstanceProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BulkInsertInstanceResourcePerInstanceProperties.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BulkInsertInstanceResourcePerInstanceProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public BulkInsertInstanceResourcePerInstanceProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The hostname to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for hostname to set.

Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BulkInsertInstanceResourcePerInstanceProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BulkInsertInstanceResourcePerInstanceProperties.Builder
Overrides