Class WorkstationConfig.ReadinessCheck.Builder (0.71.0)

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

A readiness check to be performed on a workstation.

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

Static Methods

getDescriptor()

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

Methods

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

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.

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 GeneratedMessage.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

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.