public static final class Workstation.RuntimeHost.GceInstanceHost.Builder extends GeneratedMessage.Builder<Workstation.RuntimeHost.GceInstanceHost.Builder> implements Workstation.RuntimeHost.GceInstanceHostOrBuilderThe Compute Engine instance host.
Protobuf type
google.cloud.workstations.v1beta.Workstation.RuntimeHost.GceInstanceHost
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Workstation.RuntimeHost.GceInstanceHost.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Workstation.RuntimeHost.GceInstanceHost build()| Returns | |
|---|---|
| Type | Description |
Workstation.RuntimeHost.GceInstanceHost |
|
buildPartial()
public Workstation.RuntimeHost.GceInstanceHost buildPartial()| Returns | |
|---|---|
| Type | Description |
Workstation.RuntimeHost.GceInstanceHost |
|
clear()
public Workstation.RuntimeHost.GceInstanceHost.Builder clear()| Returns | |
|---|---|
| Type | Description |
Workstation.RuntimeHost.GceInstanceHost.Builder |
|
clearId()
public Workstation.RuntimeHost.GceInstanceHost.Builder clearId()Optional. Output only. The ID of the Compute Engine instance.
string id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Workstation.RuntimeHost.GceInstanceHost.Builder |
This builder for chaining. |
clearName()
public Workstation.RuntimeHost.GceInstanceHost.Builder clearName()Optional. Output only. The name of the Compute Engine instance.
string name = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Workstation.RuntimeHost.GceInstanceHost.Builder |
This builder for chaining. |
clearZone()
public Workstation.RuntimeHost.GceInstanceHost.Builder clearZone()Optional. Output only. The zone of the Compute Engine instance.
string zone = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Workstation.RuntimeHost.GceInstanceHost.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Workstation.RuntimeHost.GceInstanceHost getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Workstation.RuntimeHost.GceInstanceHost |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getId()
public String getId()Optional. Output only. The ID of the Compute Engine instance.
string id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The id. |
getIdBytes()
public ByteString getIdBytes()Optional. Output only. The ID of the Compute Engine instance.
string id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for id. |
getName()
public String getName()Optional. Output only. The name of the Compute Engine instance.
string name = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Optional. Output only. The name of the Compute Engine instance.
string name = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getZone()
public String getZone()Optional. Output only. The zone of the Compute Engine instance.
string zone = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The zone. |
getZoneBytes()
public ByteString getZoneBytes()Optional. Output only. The zone of the Compute Engine instance.
string zone = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for zone. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Workstation.RuntimeHost.GceInstanceHost other)
public Workstation.RuntimeHost.GceInstanceHost.Builder mergeFrom(Workstation.RuntimeHost.GceInstanceHost other)| Parameter | |
|---|---|
| Name | Description |
other |
Workstation.RuntimeHost.GceInstanceHost |
| Returns | |
|---|---|
| Type | Description |
Workstation.RuntimeHost.GceInstanceHost.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Workstation.RuntimeHost.GceInstanceHost.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Workstation.RuntimeHost.GceInstanceHost.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Workstation.RuntimeHost.GceInstanceHost.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Workstation.RuntimeHost.GceInstanceHost.Builder |
|
setId(String value)
public Workstation.RuntimeHost.GceInstanceHost.Builder setId(String value)Optional. Output only. The ID of the Compute Engine instance.
string id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe id to set. |
| Returns | |
|---|---|
| Type | Description |
Workstation.RuntimeHost.GceInstanceHost.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public Workstation.RuntimeHost.GceInstanceHost.Builder setIdBytes(ByteString value)Optional. Output only. The ID of the Compute Engine instance.
string id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
Workstation.RuntimeHost.GceInstanceHost.Builder |
This builder for chaining. |
setName(String value)
public Workstation.RuntimeHost.GceInstanceHost.Builder setName(String value)Optional. Output only. The name of the Compute Engine instance.
string name = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Workstation.RuntimeHost.GceInstanceHost.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Workstation.RuntimeHost.GceInstanceHost.Builder setNameBytes(ByteString value)Optional. Output only. The name of the Compute Engine instance.
string name = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Workstation.RuntimeHost.GceInstanceHost.Builder |
This builder for chaining. |
setZone(String value)
public Workstation.RuntimeHost.GceInstanceHost.Builder setZone(String value)Optional. Output only. The zone of the Compute Engine instance.
string zone = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe zone to set. |
| Returns | |
|---|---|
| Type | Description |
Workstation.RuntimeHost.GceInstanceHost.Builder |
This builder for chaining. |
setZoneBytes(ByteString value)
public Workstation.RuntimeHost.GceInstanceHost.Builder setZoneBytes(ByteString value)Optional. Output only. The zone of the Compute Engine instance.
string zone = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for zone to set. |
| Returns | |
|---|---|
| Type | Description |
Workstation.RuntimeHost.GceInstanceHost.Builder |
This builder for chaining. |