public static final class BulkInsertInstanceResourcePerInstanceProperties.Builder extends GeneratedMessage.Builder<BulkInsertInstanceResourcePerInstanceProperties.Builder> implements BulkInsertInstanceResourcePerInstancePropertiesOrBuilderPer-instance properties to be set on individual instances. To be extended in the future.
Protobuf type google.cloud.compute.v1.BulkInsertInstanceResourcePerInstanceProperties
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BulkInsertInstanceResourcePerInstanceProperties.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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()Output only. 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. |
getDefaultInstanceForType()
public BulkInsertInstanceResourcePerInstanceProperties getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BulkInsertInstanceResourcePerInstanceProperties |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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()Output only. 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()Output only. 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()Output only. 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BulkInsertInstanceResourcePerInstanceProperties.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BulkInsertInstanceResourcePerInstanceProperties.Builder |
|
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 |
StringThe 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 |
ByteStringThe bytes for hostname to set. |
| Returns | |
|---|---|
| Type | Description |
BulkInsertInstanceResourcePerInstanceProperties.Builder |
This builder for chaining. |
setName(String value)
public BulkInsertInstanceResourcePerInstanceProperties.Builder setName(String value)Output only. This field is only temporary. It will be removed. Do not use it.
optional string name = 3373707;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
BulkInsertInstanceResourcePerInstanceProperties.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public BulkInsertInstanceResourcePerInstanceProperties.Builder setNameBytes(ByteString value)Output only. This field is only temporary. It will be removed. Do not use it.
optional string name = 3373707;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
BulkInsertInstanceResourcePerInstanceProperties.Builder |
This builder for chaining. |