Package com.google.cloud.notebooks.v1
Interface RuntimeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Runtime,Runtime.Builder
public interface RuntimeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RuntimeAccessConfiggetAccessConfig()The config settings for accessing runtime.RuntimeAccessConfigOrBuildergetAccessConfigOrBuilder()The config settings for accessing runtime.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.Runtime.HealthStategetHealthState()Output only.intgetHealthStateValue()Output only.RuntimeMetricsgetMetrics()Output only.RuntimeMetricsOrBuildergetMetricsOrBuilder()Output only.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.Runtime.RuntimeTypeCasegetRuntimeTypeCase()RuntimeSoftwareConfiggetSoftwareConfig()The config settings for software inside the runtime.RuntimeSoftwareConfigOrBuildergetSoftwareConfigOrBuilder()The config settings for software inside the runtime.Runtime.StategetState()Output only.intgetStateValue()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.VirtualMachinegetVirtualMachine()Use a Compute Engine VM image to start the managed notebook instance.VirtualMachineOrBuildergetVirtualMachineOrBuilder()Use a Compute Engine VM image to start the managed notebook instance.booleanhasAccessConfig()The config settings for accessing runtime.booleanhasCreateTime()Output only.booleanhasMetrics()Output only.booleanhasSoftwareConfig()The config settings for software inside the runtime.booleanhasUpdateTime()Output only.booleanhasVirtualMachine()Use a Compute Engine VM image to start the managed notebook instance.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Output only. The resource name of the runtime. Format: `projects/{project}/locations/{location}/runtimes/{runtimeId}`string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the runtime. Format: `projects/{project}/locations/{location}/runtimes/{runtimeId}`string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
hasVirtualMachine
boolean hasVirtualMachine()
Use a Compute Engine VM image to start the managed notebook instance.
.google.cloud.notebooks.v1.VirtualMachine virtual_machine = 2;- Returns:
- Whether the virtualMachine field is set.
-
getVirtualMachine
VirtualMachine getVirtualMachine()
Use a Compute Engine VM image to start the managed notebook instance.
.google.cloud.notebooks.v1.VirtualMachine virtual_machine = 2;- Returns:
- The virtualMachine.
-
getVirtualMachineOrBuilder
VirtualMachineOrBuilder getVirtualMachineOrBuilder()
Use a Compute Engine VM image to start the managed notebook instance.
.google.cloud.notebooks.v1.VirtualMachine virtual_machine = 2;
-
getStateValue
int getStateValue()
Output only. Runtime state.
.google.cloud.notebooks.v1.Runtime.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
Runtime.State getState()
Output only. Runtime state.
.google.cloud.notebooks.v1.Runtime.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
getHealthStateValue
int getHealthStateValue()
Output only. Runtime health_state.
.google.cloud.notebooks.v1.Runtime.HealthState health_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for healthState.
-
getHealthState
Runtime.HealthState getHealthState()
Output only. Runtime health_state.
.google.cloud.notebooks.v1.Runtime.HealthState health_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The healthState.
-
hasAccessConfig
boolean hasAccessConfig()
The config settings for accessing runtime.
.google.cloud.notebooks.v1.RuntimeAccessConfig access_config = 5;- Returns:
- Whether the accessConfig field is set.
-
getAccessConfig
RuntimeAccessConfig getAccessConfig()
The config settings for accessing runtime.
.google.cloud.notebooks.v1.RuntimeAccessConfig access_config = 5;- Returns:
- The accessConfig.
-
getAccessConfigOrBuilder
RuntimeAccessConfigOrBuilder getAccessConfigOrBuilder()
The config settings for accessing runtime.
.google.cloud.notebooks.v1.RuntimeAccessConfig access_config = 5;
-
hasSoftwareConfig
boolean hasSoftwareConfig()
The config settings for software inside the runtime.
.google.cloud.notebooks.v1.RuntimeSoftwareConfig software_config = 6;- Returns:
- Whether the softwareConfig field is set.
-
getSoftwareConfig
RuntimeSoftwareConfig getSoftwareConfig()
The config settings for software inside the runtime.
.google.cloud.notebooks.v1.RuntimeSoftwareConfig software_config = 6;- Returns:
- The softwareConfig.
-
getSoftwareConfigOrBuilder
RuntimeSoftwareConfigOrBuilder getSoftwareConfigOrBuilder()
The config settings for software inside the runtime.
.google.cloud.notebooks.v1.RuntimeSoftwareConfig software_config = 6;
-
hasMetrics
boolean hasMetrics()
Output only. Contains Runtime daemon metrics such as Service status and JupyterLab stats.
.google.cloud.notebooks.v1.RuntimeMetrics metrics = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the metrics field is set.
-
getMetrics
RuntimeMetrics getMetrics()
Output only. Contains Runtime daemon metrics such as Service status and JupyterLab stats.
.google.cloud.notebooks.v1.RuntimeMetrics metrics = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The metrics.
-
getMetricsOrBuilder
RuntimeMetricsOrBuilder getMetricsOrBuilder()
Output only. Contains Runtime daemon metrics such as Service status and JupyterLab stats.
.google.cloud.notebooks.v1.RuntimeMetrics metrics = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasCreateTime
boolean hasCreateTime()
Output only. Runtime creation time.
.google.protobuf.Timestamp create_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Output only. Runtime creation time.
.google.protobuf.Timestamp create_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Runtime creation time.
.google.protobuf.Timestamp create_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasUpdateTime
boolean hasUpdateTime()
Output only. Runtime update time.
.google.protobuf.Timestamp update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()
Output only. Runtime update time.
.google.protobuf.Timestamp update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Runtime update time.
.google.protobuf.Timestamp update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getRuntimeTypeCase
Runtime.RuntimeTypeCase getRuntimeTypeCase()
-
-