public interface RuntimeOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsLabels(String key)
public abstract boolean containsLabels(String key)
Optional. The labels to associate with this Managed Notebook or Runtime. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with a cluster.
map<string, string> labels = 23;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getAccessConfig()
public abstract RuntimeAccessConfig getAccessConfig()
The config settings for accessing runtime.
.google.events.cloud.notebooks.v1.RuntimeAccessConfig access_config = 5;
Returns | |
---|---|
Type | Description |
RuntimeAccessConfig | The accessConfig. |
getAccessConfigOrBuilder()
public abstract RuntimeAccessConfigOrBuilder getAccessConfigOrBuilder()
The config settings for accessing runtime.
.google.events.cloud.notebooks.v1.RuntimeAccessConfig access_config = 5;
Returns | |
---|---|
Type | Description |
RuntimeAccessConfigOrBuilder |
getCreateTime()
public abstract Timestamp getCreateTime()
Output only. Runtime creation time.
.google.protobuf.Timestamp create_time = 20;
Returns | |
---|---|
Type | Description |
Timestamp | The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Runtime creation time.
.google.protobuf.Timestamp create_time = 20;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getHealthState()
public abstract Runtime.HealthState getHealthState()
Output only. Runtime health_state.
.google.events.cloud.notebooks.v1.Runtime.HealthState health_state = 4;
Returns | |
---|---|
Type | Description |
Runtime.HealthState | The healthState. |
getHealthStateValue()
public abstract int getHealthStateValue()
Output only. Runtime health_state.
.google.events.cloud.notebooks.v1.Runtime.HealthState health_state = 4;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for healthState. |
getLabels()
public abstract Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public abstract int getLabelsCount()
Optional. The labels to associate with this Managed Notebook or Runtime. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with a cluster.
map<string, string> labels = 23;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public abstract Map<String,String> getLabelsMap()
Optional. The labels to associate with this Managed Notebook or Runtime. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with a cluster.
map<string, string> labels = 23;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public abstract String getLabelsOrDefault(String key, String defaultValue)
Optional. The labels to associate with this Managed Notebook or Runtime. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with a cluster.
map<string, string> labels = 23;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public abstract String getLabelsOrThrow(String key)
Optional. The labels to associate with this Managed Notebook or Runtime. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with a cluster.
map<string, string> labels = 23;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getMetrics()
public abstract RuntimeMetrics getMetrics()
Output only. Contains Runtime daemon metrics such as Service status and JupyterLab stats.
.google.events.cloud.notebooks.v1.RuntimeMetrics metrics = 7;
Returns | |
---|---|
Type | Description |
RuntimeMetrics | The metrics. |
getMetricsOrBuilder()
public abstract RuntimeMetricsOrBuilder getMetricsOrBuilder()
Output only. Contains Runtime daemon metrics such as Service status and JupyterLab stats.
.google.events.cloud.notebooks.v1.RuntimeMetrics metrics = 7;
Returns | |
---|---|
Type | Description |
RuntimeMetricsOrBuilder |
getName()
public abstract String getName()
Output only. The resource name of the runtime.
Format:
projects/{project}/locations/{location}/runtimes/{runtimeId}
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Output only. The resource name of the runtime.
Format:
projects/{project}/locations/{location}/runtimes/{runtimeId}
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getRuntimeTypeCase()
public abstract Runtime.RuntimeTypeCase getRuntimeTypeCase()
Returns | |
---|---|
Type | Description |
Runtime.RuntimeTypeCase |
getSoftwareConfig()
public abstract RuntimeSoftwareConfig getSoftwareConfig()
The config settings for software inside the runtime.
.google.events.cloud.notebooks.v1.RuntimeSoftwareConfig software_config = 6;
Returns | |
---|---|
Type | Description |
RuntimeSoftwareConfig | The softwareConfig. |
getSoftwareConfigOrBuilder()
public abstract RuntimeSoftwareConfigOrBuilder getSoftwareConfigOrBuilder()
The config settings for software inside the runtime.
.google.events.cloud.notebooks.v1.RuntimeSoftwareConfig software_config = 6;
Returns | |
---|---|
Type | Description |
RuntimeSoftwareConfigOrBuilder |
getState()
public abstract Runtime.State getState()
Output only. Runtime state.
.google.events.cloud.notebooks.v1.Runtime.State state = 3;
Returns | |
---|---|
Type | Description |
Runtime.State | The state. |
getStateValue()
public abstract int getStateValue()
Output only. Runtime state.
.google.events.cloud.notebooks.v1.Runtime.State state = 3;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for state. |
getUpdateTime()
public abstract Timestamp getUpdateTime()
Output only. Runtime update time.
.google.protobuf.Timestamp update_time = 21;
Returns | |
---|---|
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Runtime update time.
.google.protobuf.Timestamp update_time = 21;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getVirtualMachine()
public abstract VirtualMachine getVirtualMachine()
Use a Compute Engine VM image to start the managed notebook instance.
.google.events.cloud.notebooks.v1.VirtualMachine virtual_machine = 2;
Returns | |
---|---|
Type | Description |
VirtualMachine | The virtualMachine. |
getVirtualMachineOrBuilder()
public abstract VirtualMachineOrBuilder getVirtualMachineOrBuilder()
Use a Compute Engine VM image to start the managed notebook instance.
.google.events.cloud.notebooks.v1.VirtualMachine virtual_machine = 2;
Returns | |
---|---|
Type | Description |
VirtualMachineOrBuilder |
hasAccessConfig()
public abstract boolean hasAccessConfig()
The config settings for accessing runtime.
.google.events.cloud.notebooks.v1.RuntimeAccessConfig access_config = 5;
Returns | |
---|---|
Type | Description |
boolean | Whether the accessConfig field is set. |
hasCreateTime()
public abstract boolean hasCreateTime()
Output only. Runtime creation time.
.google.protobuf.Timestamp create_time = 20;
Returns | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
hasMetrics()
public abstract boolean hasMetrics()
Output only. Contains Runtime daemon metrics such as Service status and JupyterLab stats.
.google.events.cloud.notebooks.v1.RuntimeMetrics metrics = 7;
Returns | |
---|---|
Type | Description |
boolean | Whether the metrics field is set. |
hasSoftwareConfig()
public abstract boolean hasSoftwareConfig()
The config settings for software inside the runtime.
.google.events.cloud.notebooks.v1.RuntimeSoftwareConfig software_config = 6;
Returns | |
---|---|
Type | Description |
boolean | Whether the softwareConfig field is set. |
hasUpdateTime()
public abstract boolean hasUpdateTime()
Output only. Runtime update time.
.google.protobuf.Timestamp update_time = 21;
Returns | |
---|---|
Type | Description |
boolean | Whether the updateTime field is set. |
hasVirtualMachine()
public abstract boolean hasVirtualMachine()
Use a Compute Engine VM image to start the managed notebook instance.
.google.events.cloud.notebooks.v1.VirtualMachine virtual_machine = 2;
Returns | |
---|---|
Type | Description |
boolean | Whether the virtualMachine field is set. |