public static final class WorkstationConfig.ReadinessCheck.Builder extends GeneratedMessage.Builder<WorkstationConfig.ReadinessCheck.Builder> implements WorkstationConfig.ReadinessCheckOrBuilderA readiness check to be performed on a workstation.
Protobuf type google.cloud.workstations.v1.WorkstationConfig.ReadinessCheck
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > WorkstationConfig.ReadinessCheck.BuilderImplements
WorkstationConfig.ReadinessCheckOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
StringThe 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 |
ByteStringThe 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 |
intThe port to set. |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.ReadinessCheck.Builder |
This builder for chaining. |