Class WorkstationConfig.Host.Builder (0.19.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WorkstationConfig.Host build()
Returns
TypeDescription
WorkstationConfig.Host

buildPartial()

public WorkstationConfig.Host buildPartial()
Returns
TypeDescription
WorkstationConfig.Host

clear()

public WorkstationConfig.Host.Builder clear()
Returns
TypeDescription
WorkstationConfig.Host.Builder
Overrides

clearConfig()

public WorkstationConfig.Host.Builder clearConfig()
Returns
TypeDescription
WorkstationConfig.Host.Builder

clearField(Descriptors.FieldDescriptor field)

public WorkstationConfig.Host.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
WorkstationConfig.Host.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public WorkstationConfig.Host.Builder clone()
Returns
TypeDescription
WorkstationConfig.Host.Builder
Overrides

getConfigCase()

public WorkstationConfig.Host.ConfigCase getConfigCase()
Returns
TypeDescription
WorkstationConfig.Host.ConfigCase

getDefaultInstanceForType()

public WorkstationConfig.Host getDefaultInstanceForType()
Returns
TypeDescription
WorkstationConfig.Host

getDescriptorForType()

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

Whether the gceInstance field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(WorkstationConfig.Host other)

public WorkstationConfig.Host.Builder mergeFrom(WorkstationConfig.Host other)
Parameter
NameDescription
otherWorkstationConfig.Host
Returns
TypeDescription
WorkstationConfig.Host.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public WorkstationConfig.Host.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueWorkstationConfig.Host.GceInstance
Returns
TypeDescription
WorkstationConfig.Host.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public WorkstationConfig.Host.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueWorkstationConfig.Host.GceInstance
Returns
TypeDescription
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
NameDescription
builderForValueWorkstationConfig.Host.GceInstance.Builder
Returns
TypeDescription
WorkstationConfig.Host.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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