public final class Workstation extends GeneratedMessageV3 implements WorkstationOrBuilder
A single instance of a developer workstation with its own persistent storage.
Protobuf type google.cloud.workstations.v1beta.Workstation
Static Fields
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DELETE_TIME_FIELD_NUMBER
public static final int DELETE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
HOST_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
RECONCILING_FIELD_NUMBER
public static final int RECONCILING_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Workstation getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Workstation.Builder newBuilder()
newBuilder(Workstation prototype)
public static Workstation.Builder newBuilder(Workstation prototype)
public static Workstation parseDelimitedFrom(InputStream input)
public static Workstation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Workstation parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Workstation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Workstation parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Workstation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Workstation parseFrom(CodedInputStream input)
public static Workstation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Workstation parseFrom(InputStream input)
public static Workstation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Workstation parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Workstation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Workstation> parser()
Methods
containsAnnotations(String key)
public boolean containsAnnotations(String key)
Client-specified annotations.
map<string, string> annotations = 5;
Parameter |
---|
Name | Description |
key | String
|
containsLabels(String key)
public boolean containsLabels(String key)
Client-specified labels that are applied to the resource and that are also
propagated to the underlying Compute Engine resources.
map<string, string> labels = 13;
Parameter |
---|
Name | Description |
key | String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAnnotations()
public Map<String,String> getAnnotations()
getAnnotationsCount()
public int getAnnotationsCount()
Client-specified annotations.
map<string, string> annotations = 5;
Returns |
---|
Type | Description |
int | |
getAnnotationsMap()
public Map<String,String> getAnnotationsMap()
Client-specified annotations.
map<string, string> annotations = 5;
getAnnotationsOrDefault(String key, String defaultValue)
public String getAnnotationsOrDefault(String key, String defaultValue)
Client-specified annotations.
map<string, string> annotations = 5;
getAnnotationsOrThrow(String key)
public String getAnnotationsOrThrow(String key)
Client-specified annotations.
map<string, string> annotations = 5;
Parameter |
---|
Name | Description |
key | String
|
getCreateTime()
public Timestamp getCreateTime()
Output only. Time when this resource was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
Timestamp | The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time when this resource was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public Workstation getDefaultInstanceForType()
getDeleteTime()
public Timestamp getDeleteTime()
Output only. Time when this resource was soft-deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
Timestamp | The deleteTime.
|
getDeleteTimeOrBuilder()
public TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. Time when this resource was soft-deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDisplayName()
public String getDisplayName()
Human-readable name for this resource.
string display_name = 2;
Returns |
---|
Type | Description |
String | The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Human-readable name for this resource.
string display_name = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for displayName.
|
getEtag()
Checksum computed by the server. May be sent on update and delete requests
to ensure that the client has an up-to-date value before proceeding.
string etag = 9;
Returns |
---|
Type | Description |
String | The etag.
|
getEtagBytes()
public ByteString getEtagBytes()
Checksum computed by the server. May be sent on update and delete requests
to ensure that the client has an up-to-date value before proceeding.
string etag = 9;
Returns |
---|
Type | Description |
ByteString | The bytes for etag.
|
getHost()
Output only. Host to which clients can send HTTPS traffic that will be
received by the workstation. Authorized traffic will be received to the
workstation as HTTP on port 80. To send traffic to a different port,
clients may prefix the host with the destination port in the format
{port}-{host}
.
string host = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The host.
|
getHostBytes()
public ByteString getHostBytes()
Output only. Host to which clients can send HTTPS traffic that will be
received by the workstation. Authorized traffic will be received to the
workstation as HTTP on port 80. To send traffic to a different port,
clients may prefix the host with the destination port in the format
{port}-{host}
.
string host = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for host.
|
getLabels()
public Map<String,String> getLabels()
getLabelsCount()
public int getLabelsCount()
Client-specified labels that are applied to the resource and that are also
propagated to the underlying Compute Engine resources.
map<string, string> labels = 13;
Returns |
---|
Type | Description |
int | |
getLabelsMap()
public Map<String,String> getLabelsMap()
Client-specified labels that are applied to the resource and that are also
propagated to the underlying Compute Engine resources.
map<string, string> labels = 13;
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Client-specified labels that are applied to the resource and that are also
propagated to the underlying Compute Engine resources.
map<string, string> labels = 13;
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Client-specified labels that are applied to the resource and that are also
propagated to the underlying Compute Engine resources.
map<string, string> labels = 13;
Parameter |
---|
Name | Description |
key | String
|
getName()
Full name of this resource.
string name = 1;
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Full name of this resource.
string name = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
getParserForType()
public Parser<Workstation> getParserForType()
Overrides
getReconciling()
public boolean getReconciling()
Output only. Indicates whether this resource is currently being updated to
match its intended state.
bool reconciling = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | The reconciling.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getState()
public Workstation.State getState()
Output only. Current state of the workstation.
.google.cloud.workstations.v1beta.Workstation.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue()
public int getStateValue()
Output only. Current state of the workstation.
.google.cloud.workstations.v1beta.Workstation.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for state.
|
getUid()
Output only. A system-assigned unique identified for this resource.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The uid.
|
getUidBytes()
public ByteString getUidBytes()
Output only. A system-assigned unique identified for this resource.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for uid.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Time when this resource was most recently updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
Timestamp | The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time when this resource was most recently updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime()
public boolean hasCreateTime()
Output only. Time when this resource was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the createTime field is set.
|
hasDeleteTime()
public boolean hasDeleteTime()
Output only. Time when this resource was soft-deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the deleteTime field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Time when this resource was most recently updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the updateTime field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Workstation.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Workstation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Workstation.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides