Class WorkstationCluster.PrivateClusterConfig (0.10.0)

public static final class WorkstationCluster.PrivateClusterConfig extends GeneratedMessageV3 implements WorkstationCluster.PrivateClusterConfigOrBuilder

Configuration options for private clusters.

Protobuf type google.cloud.workstations.v1beta.WorkstationCluster.PrivateClusterConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > WorkstationCluster.PrivateClusterConfig

Static Fields

ALLOWED_PROJECTS_FIELD_NUMBER

public static final int ALLOWED_PROJECTS_FIELD_NUMBER
Field Value
TypeDescription
int

CLUSTER_HOSTNAME_FIELD_NUMBER

public static final int CLUSTER_HOSTNAME_FIELD_NUMBER
Field Value
TypeDescription
int

ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER

public static final int ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_ATTACHMENT_URI_FIELD_NUMBER

public static final int SERVICE_ATTACHMENT_URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static WorkstationCluster.PrivateClusterConfig getDefaultInstance()
Returns
TypeDescription
WorkstationCluster.PrivateClusterConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static WorkstationCluster.PrivateClusterConfig.Builder newBuilder()
Returns
TypeDescription
WorkstationCluster.PrivateClusterConfig.Builder

newBuilder(WorkstationCluster.PrivateClusterConfig prototype)

public static WorkstationCluster.PrivateClusterConfig.Builder newBuilder(WorkstationCluster.PrivateClusterConfig prototype)
Parameter
NameDescription
prototypeWorkstationCluster.PrivateClusterConfig
Returns
TypeDescription
WorkstationCluster.PrivateClusterConfig.Builder

parseDelimitedFrom(InputStream input)

public static WorkstationCluster.PrivateClusterConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WorkstationCluster.PrivateClusterConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkstationCluster.PrivateClusterConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkstationCluster.PrivateClusterConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static WorkstationCluster.PrivateClusterConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
WorkstationCluster.PrivateClusterConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WorkstationCluster.PrivateClusterConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkstationCluster.PrivateClusterConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WorkstationCluster.PrivateClusterConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
WorkstationCluster.PrivateClusterConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WorkstationCluster.PrivateClusterConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkstationCluster.PrivateClusterConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WorkstationCluster.PrivateClusterConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
WorkstationCluster.PrivateClusterConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkstationCluster.PrivateClusterConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkstationCluster.PrivateClusterConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static WorkstationCluster.PrivateClusterConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WorkstationCluster.PrivateClusterConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkstationCluster.PrivateClusterConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkstationCluster.PrivateClusterConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static WorkstationCluster.PrivateClusterConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
WorkstationCluster.PrivateClusterConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WorkstationCluster.PrivateClusterConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkstationCluster.PrivateClusterConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<WorkstationCluster.PrivateClusterConfig> parser()
Returns
TypeDescription
Parser<PrivateClusterConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAllowedProjects(int index)

public String getAllowedProjects(int index)

Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if different) are allowed.

repeated string allowed_projects = 4;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The allowedProjects at the given index.

getAllowedProjectsBytes(int index)

public ByteString getAllowedProjectsBytes(int index)

Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if different) are allowed.

repeated string allowed_projects = 4;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the allowedProjects at the given index.

getAllowedProjectsCount()

public int getAllowedProjectsCount()

Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if different) are allowed.

repeated string allowed_projects = 4;

Returns
TypeDescription
int

The count of allowedProjects.

getAllowedProjectsList()

public ProtocolStringList getAllowedProjectsList()

Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if different) are allowed.

repeated string allowed_projects = 4;

Returns
TypeDescription
ProtocolStringList

A list containing the allowedProjects.

getClusterHostname()

public String getClusterHostname()

Output only. Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the cluster, create a new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment.

string cluster_hostname = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The clusterHostname.

getClusterHostnameBytes()

public ByteString getClusterHostnameBytes()

Output only. Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the cluster, create a new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment.

string cluster_hostname = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for clusterHostname.

getDefaultInstanceForType()

public WorkstationCluster.PrivateClusterConfig getDefaultInstanceForType()
Returns
TypeDescription
WorkstationCluster.PrivateClusterConfig

getEnablePrivateEndpoint()

public boolean getEnablePrivateEndpoint()

Immutable. Whether Workstations endpoint is private.

bool enable_private_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
boolean

The enablePrivateEndpoint.

getParserForType()

public Parser<WorkstationCluster.PrivateClusterConfig> getParserForType()
Returns
TypeDescription
Parser<PrivateClusterConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getServiceAttachmentUri()

public String getServiceAttachmentUri()

Output only. Service attachment URI for the workstation cluster. The service attachemnt is created when private endpoint is enabled. To access workstations in the cluster, configure access to the managed service using Private Service Connect.

string service_attachment_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The serviceAttachmentUri.

getServiceAttachmentUriBytes()

public ByteString getServiceAttachmentUriBytes()

Output only. Service attachment URI for the workstation cluster. The service attachemnt is created when private endpoint is enabled. To access workstations in the cluster, configure access to the managed service using Private Service Connect.

string service_attachment_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for serviceAttachmentUri.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public WorkstationCluster.PrivateClusterConfig.Builder newBuilderForType()
Returns
TypeDescription
WorkstationCluster.PrivateClusterConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WorkstationCluster.PrivateClusterConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
WorkstationCluster.PrivateClusterConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public WorkstationCluster.PrivateClusterConfig.Builder toBuilder()
Returns
TypeDescription
WorkstationCluster.PrivateClusterConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException