public interface WorkstationOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsAnnotations(String key)
public abstract boolean containsAnnotations(String key)
Client-specified annotations.
map<string, string> annotations = 5;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
containsLabels(String key)
public abstract 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 |
Returns | |
---|---|
Type | Description |
boolean |
getAnnotations()
public abstract Map<String,String> getAnnotations()
Use #getAnnotationsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getAnnotationsCount()
public abstract int getAnnotationsCount()
Client-specified annotations.
map<string, string> annotations = 5;
Returns | |
---|---|
Type | Description |
int |
getAnnotationsMap()
public abstract Map<String,String> getAnnotationsMap()
Client-specified annotations.
map<string, string> annotations = 5;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getAnnotationsOrDefault(String key, String defaultValue)
public abstract String getAnnotationsOrDefault(String key, String defaultValue)
Client-specified annotations.
map<string, string> annotations = 5;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getAnnotationsOrThrow(String key)
public abstract String getAnnotationsOrThrow(String key)
Client-specified annotations.
map<string, string> annotations = 5;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getCreateTime()
public abstract 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 abstract TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time when this resource was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDeleteTime()
public abstract 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 abstract TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. Time when this resource was soft-deleted.
.google.protobuf.Timestamp delete_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDisplayName()
public abstract String getDisplayName()
Human-readable name for this resource.
string display_name = 2;
Returns | |
---|---|
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes()
Human-readable name for this resource.
string display_name = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for displayName. |
getEtag()
public abstract String 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 abstract 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()
public abstract String 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 abstract 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 abstract Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public abstract 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 abstract 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;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public abstract 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;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public abstract 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 |
Returns | |
---|---|
Type | Description |
String |
getName()
public abstract String getName()
Full name of this resource.
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Full name of this resource.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getReconciling()
public abstract 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. |
getState()
public abstract Workstation.State getState()
Output only. Current state of the workstation.
.google.cloud.workstations.v1.Workstation.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Workstation.State | The state. |
getStateValue()
public abstract int getStateValue()
Output only. Current state of the workstation.
.google.cloud.workstations.v1.Workstation.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for state. |
getUid()
public abstract String 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 abstract 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. |
getUpdateTime()
public abstract 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 abstract TimestampOrBuilder getUpdateTimeOrBuilder()
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 |
TimestampOrBuilder |
hasCreateTime()
public abstract 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 abstract 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 abstract 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. |