Class WorkstationConfig.ReadinessCheck.Builder (0.30.0)

public static final class WorkstationConfig.ReadinessCheck.Builder extends GeneratedMessageV3.Builder<WorkstationConfig.ReadinessCheck.Builder> implements WorkstationConfig.ReadinessCheckOrBuilder

A readiness check to be performed on a workstation.

Protobuf type google.cloud.workstations.v1beta.WorkstationConfig.ReadinessCheck

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPath()

public WorkstationConfig.ReadinessCheck.Builder clearPath()

Optional. Path to which the request should be sent.

string path = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WorkstationConfig.ReadinessCheck.Builder

This builder for chaining.

clearPort()

public WorkstationConfig.ReadinessCheck.Builder clearPort()

Optional. Port to which the request should be sent.

int32 port = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
WorkstationConfig.ReadinessCheck.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getPath()

public String getPath()

Optional. Path to which the request should be sent.

string path = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The path.

getPathBytes()

public ByteString getPathBytes()

Optional. Path to which the request should be sent.

string path = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for path.

getPort()

public int getPort()

Optional. Port to which the request should be sent.

int32 port = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The port.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WorkstationConfig.ReadinessCheck other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPath(String value)

public WorkstationConfig.ReadinessCheck.Builder setPath(String value)

Optional. Path to which the request should be sent.

string path = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The path to set.

Returns
Type Description
WorkstationConfig.ReadinessCheck.Builder

This builder for chaining.

setPathBytes(ByteString value)

public WorkstationConfig.ReadinessCheck.Builder setPathBytes(ByteString value)

Optional. Path to which the request should be sent.

string path = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for path to set.

Returns
Type Description
WorkstationConfig.ReadinessCheck.Builder

This builder for chaining.

setPort(int value)

public WorkstationConfig.ReadinessCheck.Builder setPort(int value)

Optional. Port to which the request should be sent.

int32 port = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The port to set.

Returns
Type Description
WorkstationConfig.ReadinessCheck.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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