Interface RuntimeOrBuilder (0.14.1)

public interface RuntimeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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
NameDescription
keyString
Returns
TypeDescription
boolean

getAccessConfig()

public abstract RuntimeAccessConfig getAccessConfig()

The config settings for accessing runtime.

.google.events.cloud.notebooks.v1.RuntimeAccessConfig access_config = 5;

Returns
TypeDescription
RuntimeAccessConfig

The accessConfig.

getAccessConfigOrBuilder()

public abstract RuntimeAccessConfigOrBuilder getAccessConfigOrBuilder()

The config settings for accessing runtime.

.google.events.cloud.notebooks.v1.RuntimeAccessConfig access_config = 5;

Returns
TypeDescription
RuntimeAccessConfigOrBuilder

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. Runtime creation time.

.google.protobuf.Timestamp create_time = 20;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Runtime creation time.

.google.protobuf.Timestamp create_time = 20;

Returns
TypeDescription
TimestampOrBuilder

getHealthState()

public abstract Runtime.HealthState getHealthState()

Output only. Runtime health_state.

.google.events.cloud.notebooks.v1.Runtime.HealthState health_state = 4;

Returns
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for healthState.

getLabels()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getRuntimeTypeCase()

public abstract Runtime.RuntimeTypeCase getRuntimeTypeCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
RuntimeSoftwareConfigOrBuilder

getState()

public abstract Runtime.State getState()

Output only. Runtime state.

.google.events.cloud.notebooks.v1.Runtime.State state = 3;

Returns
TypeDescription
Runtime.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. Runtime state.

.google.events.cloud.notebooks.v1.Runtime.State state = 3;

Returns
TypeDescription
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
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Runtime update time.

.google.protobuf.Timestamp update_time = 21;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
VirtualMachineOrBuilder

hasAccessConfig()

public abstract boolean hasAccessConfig()

The config settings for accessing runtime.

.google.events.cloud.notebooks.v1.RuntimeAccessConfig access_config = 5;

Returns
TypeDescription
boolean

Whether the accessConfig field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. Runtime creation time.

.google.protobuf.Timestamp create_time = 20;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the softwareConfig field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. Runtime update time.

.google.protobuf.Timestamp update_time = 21;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the virtualMachine field is set.