Class WorkstationConfig.Host.Builder (0.34.0)

public static final class WorkstationConfig.Host.Builder extends GeneratedMessageV3.Builder<WorkstationConfig.Host.Builder> implements WorkstationConfig.HostOrBuilder

Runtime host for a workstation.

Protobuf type google.cloud.workstations.v1.WorkstationConfig.Host

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WorkstationConfig.Host build()
Returns
Type Description
WorkstationConfig.Host

buildPartial()

public WorkstationConfig.Host buildPartial()
Returns
Type Description
WorkstationConfig.Host

clear()

public WorkstationConfig.Host.Builder clear()
Returns
Type Description
WorkstationConfig.Host.Builder
Overrides

clearConfig()

public WorkstationConfig.Host.Builder clearConfig()
Returns
Type Description
WorkstationConfig.Host.Builder

clearField(Descriptors.FieldDescriptor field)

public WorkstationConfig.Host.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
WorkstationConfig.Host.Builder
Overrides

clearGceInstance()

public WorkstationConfig.Host.Builder clearGceInstance()

Specifies a Compute Engine instance as the host.

.google.cloud.workstations.v1.WorkstationConfig.Host.GceInstance gce_instance = 1;

Returns
Type Description
WorkstationConfig.Host.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public WorkstationConfig.Host.Builder clone()
Returns
Type Description
WorkstationConfig.Host.Builder
Overrides

getConfigCase()

public WorkstationConfig.Host.ConfigCase getConfigCase()
Returns
Type Description
WorkstationConfig.Host.ConfigCase

getDefaultInstanceForType()

public WorkstationConfig.Host getDefaultInstanceForType()
Returns
Type Description
WorkstationConfig.Host

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGceInstance()

public WorkstationConfig.Host.GceInstance getGceInstance()

Specifies a Compute Engine instance as the host.

.google.cloud.workstations.v1.WorkstationConfig.Host.GceInstance gce_instance = 1;

Returns
Type Description
WorkstationConfig.Host.GceInstance

The gceInstance.

getGceInstanceBuilder()

public WorkstationConfig.Host.GceInstance.Builder getGceInstanceBuilder()

Specifies a Compute Engine instance as the host.

.google.cloud.workstations.v1.WorkstationConfig.Host.GceInstance gce_instance = 1;

Returns
Type Description
WorkstationConfig.Host.GceInstance.Builder

getGceInstanceOrBuilder()

public WorkstationConfig.Host.GceInstanceOrBuilder getGceInstanceOrBuilder()

Specifies a Compute Engine instance as the host.

.google.cloud.workstations.v1.WorkstationConfig.Host.GceInstance gce_instance = 1;

Returns
Type Description
WorkstationConfig.Host.GceInstanceOrBuilder

hasGceInstance()

public boolean hasGceInstance()

Specifies a Compute Engine instance as the host.

.google.cloud.workstations.v1.WorkstationConfig.Host.GceInstance gce_instance = 1;

Returns
Type Description
boolean

Whether the gceInstance field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WorkstationConfig.Host other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGceInstance(WorkstationConfig.Host.GceInstance value)

public WorkstationConfig.Host.Builder mergeGceInstance(WorkstationConfig.Host.GceInstance value)

Specifies a Compute Engine instance as the host.

.google.cloud.workstations.v1.WorkstationConfig.Host.GceInstance gce_instance = 1;

Parameter
Name Description
value WorkstationConfig.Host.GceInstance
Returns
Type Description
WorkstationConfig.Host.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public WorkstationConfig.Host.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WorkstationConfig.Host.Builder
Overrides

setGceInstance(WorkstationConfig.Host.GceInstance value)

public WorkstationConfig.Host.Builder setGceInstance(WorkstationConfig.Host.GceInstance value)

Specifies a Compute Engine instance as the host.

.google.cloud.workstations.v1.WorkstationConfig.Host.GceInstance gce_instance = 1;

Parameter
Name Description
value WorkstationConfig.Host.GceInstance
Returns
Type Description
WorkstationConfig.Host.Builder

setGceInstance(WorkstationConfig.Host.GceInstance.Builder builderForValue)

public WorkstationConfig.Host.Builder setGceInstance(WorkstationConfig.Host.GceInstance.Builder builderForValue)

Specifies a Compute Engine instance as the host.

.google.cloud.workstations.v1.WorkstationConfig.Host.GceInstance gce_instance = 1;

Parameter
Name Description
builderForValue WorkstationConfig.Host.GceInstance.Builder
Returns
Type Description
WorkstationConfig.Host.Builder

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

public WorkstationConfig.Host.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
WorkstationConfig.Host.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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