public static final class WorkstationCluster.PrivateClusterConfig extends GeneratedMessageV3 implements WorkstationCluster.PrivateClusterConfigOrBuilder
Configuration options for private workstation clusters.
Protobuf type google.cloud.workstations.v1beta.WorkstationCluster.PrivateClusterConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
ALLOWED_PROJECTS_FIELD_NUMBER
public static final int ALLOWED_PROJECTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CLUSTER_HOSTNAME_FIELD_NUMBER
public static final int CLUSTER_HOSTNAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER
public static final int ENABLE_PRIVATE_ENDPOINT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SERVICE_ATTACHMENT_URI_FIELD_NUMBER
public static final int SERVICE_ATTACHMENT_URI_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static WorkstationCluster.PrivateClusterConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static WorkstationCluster.PrivateClusterConfig.Builder newBuilder()
newBuilder(WorkstationCluster.PrivateClusterConfig prototype)
public static WorkstationCluster.PrivateClusterConfig.Builder newBuilder(WorkstationCluster.PrivateClusterConfig prototype)
public static WorkstationCluster.PrivateClusterConfig parseDelimitedFrom(InputStream input)
public static WorkstationCluster.PrivateClusterConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static WorkstationCluster.PrivateClusterConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WorkstationCluster.PrivateClusterConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static WorkstationCluster.PrivateClusterConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WorkstationCluster.PrivateClusterConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WorkstationCluster.PrivateClusterConfig parseFrom(CodedInputStream input)
public static WorkstationCluster.PrivateClusterConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WorkstationCluster.PrivateClusterConfig parseFrom(InputStream input)
public static WorkstationCluster.PrivateClusterConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static WorkstationCluster.PrivateClusterConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WorkstationCluster.PrivateClusterConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<WorkstationCluster.PrivateClusterConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAllowedProjects(int index)
public String getAllowedProjects(int index)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The allowedProjects at the given index.
|
getAllowedProjectsBytes(int index)
public ByteString getAllowedProjectsBytes(int index)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the allowedProjects at the given index.
|
getAllowedProjectsCount()
public int getAllowedProjectsCount()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
int | The count of allowedProjects.
|
getAllowedProjectsList()
public ProtocolStringList getAllowedProjectsList()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
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 workstation 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 |
---|
Type | Description |
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 workstation 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 |
---|
Type | Description |
ByteString | The bytes for clusterHostname.
|
getDefaultInstanceForType()
public WorkstationCluster.PrivateClusterConfig getDefaultInstanceForType()
getEnablePrivateEndpoint()
public boolean getEnablePrivateEndpoint()
Immutable. Whether Workstations endpoint is private.
bool enable_private_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE];
Returns |
---|
Type | Description |
boolean | The enablePrivateEndpoint.
|
getParserForType()
public Parser<WorkstationCluster.PrivateClusterConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
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 workstation cluster, configure access to the managed
service using Private Service
Connect.
string service_attachment_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
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 workstation cluster, configure access to the managed
service using Private Service
Connect.
string service_attachment_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for serviceAttachmentUri.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public WorkstationCluster.PrivateClusterConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected WorkstationCluster.PrivateClusterConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public WorkstationCluster.PrivateClusterConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides