Class WorkstationConfig.ReadinessCheck.Builder (0.28.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

public WorkstationConfig.ReadinessCheck.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
WorkstationConfig.ReadinessCheck.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public WorkstationConfig.ReadinessCheck.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
WorkstationConfig.ReadinessCheck.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPath()

public String getPath()

Optional. Path to which the request should be sent.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The port.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(WorkstationConfig.ReadinessCheck other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public WorkstationConfig.ReadinessCheck.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
WorkstationConfig.ReadinessCheck.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The path to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for path to set.

Returns
TypeDescription
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
NameDescription
valueint

The port to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
WorkstationConfig.ReadinessCheck.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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