public final class Runtime extends GeneratedMessageV3 implements RuntimeOrBuilder
The definition of a Runtime for a managed notebook instance.
Protobuf type google.cloud.notebooks.v1.Runtime
Fields
ACCESS_CONFIG_FIELD_NUMBER
public static final int ACCESS_CONFIG_FIELD_NUMBER
Field Value
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
HEALTH_STATE_FIELD_NUMBER
public static final int HEALTH_STATE_FIELD_NUMBER
Field Value
METRICS_FIELD_NUMBER
public static final int METRICS_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
SOFTWARE_CONFIG_FIELD_NUMBER
public static final int SOFTWARE_CONFIG_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
VIRTUAL_MACHINE_FIELD_NUMBER
public static final int VIRTUAL_MACHINE_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAccessConfig()
public RuntimeAccessConfig getAccessConfig()
The config settings for accessing runtime.
.google.cloud.notebooks.v1.RuntimeAccessConfig access_config = 5;
Returns
getAccessConfigOrBuilder()
public RuntimeAccessConfigOrBuilder getAccessConfigOrBuilder()
The config settings for accessing runtime.
.google.cloud.notebooks.v1.RuntimeAccessConfig access_config = 5;
Returns
getCreateTime()
public Timestamp getCreateTime()
Output only. Runtime creation time.
.google.protobuf.Timestamp create_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Runtime creation time.
.google.protobuf.Timestamp create_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getDefaultInstance()
public static Runtime getDefaultInstance()
Returns
getDefaultInstanceForType()
public Runtime getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getHealthState()
public Runtime.HealthState getHealthState()
Output only. Runtime health_state.
.google.cloud.notebooks.v1.Runtime.HealthState health_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getHealthStateValue()
public int getHealthStateValue()
Output only. Runtime health_state.
.google.cloud.notebooks.v1.Runtime.HealthState health_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
int | The enum numeric value on the wire for healthState.
|
getMetrics()
public 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
getMetricsOrBuilder()
public 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];
Returns
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
Type | Description |
String | The name.
|
getNameBytes()
public 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
getParserForType()
public Parser<Runtime> getParserForType()
Returns
Overrides
getRuntimeTypeCase()
public Runtime.RuntimeTypeCase getRuntimeTypeCase()
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSoftwareConfig()
public RuntimeSoftwareConfig getSoftwareConfig()
The config settings for software inside the runtime.
.google.cloud.notebooks.v1.RuntimeSoftwareConfig software_config = 6;
Returns
getSoftwareConfigOrBuilder()
public RuntimeSoftwareConfigOrBuilder getSoftwareConfigOrBuilder()
The config settings for software inside the runtime.
.google.cloud.notebooks.v1.RuntimeSoftwareConfig software_config = 6;
Returns
getState()
public Runtime.State getState()
Output only. Runtime state.
.google.cloud.notebooks.v1.Runtime.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getStateValue()
public int getStateValue()
Output only. Runtime state.
.google.cloud.notebooks.v1.Runtime.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
int | The enum numeric value on the wire for state.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Runtime update time.
.google.protobuf.Timestamp update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Runtime update time.
.google.protobuf.Timestamp update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getVirtualMachine()
public VirtualMachine getVirtualMachine()
Use a Compute Engine VM image to start the managed notebook instance.
.google.cloud.notebooks.v1.VirtualMachine virtual_machine = 2;
Returns
getVirtualMachineOrBuilder()
public VirtualMachineOrBuilder getVirtualMachineOrBuilder()
Use a Compute Engine VM image to start the managed notebook instance.
.google.cloud.notebooks.v1.VirtualMachine virtual_machine = 2;
Returns
hasAccessConfig()
public boolean hasAccessConfig()
The config settings for accessing runtime.
.google.cloud.notebooks.v1.RuntimeAccessConfig access_config = 5;
Returns
Type | Description |
boolean | Whether the accessConfig field is set.
|
hasCreateTime()
public boolean hasCreateTime()
Output only. Runtime creation time.
.google.protobuf.Timestamp create_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the createTime field is set.
|
hasMetrics()
public 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
Type | Description |
boolean | Whether the metrics field is set.
|
hasSoftwareConfig()
public boolean hasSoftwareConfig()
The config settings for software inside the runtime.
.google.cloud.notebooks.v1.RuntimeSoftwareConfig software_config = 6;
Returns
Type | Description |
boolean | Whether the softwareConfig field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Runtime update time.
.google.protobuf.Timestamp update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the updateTime field is set.
|
hasVirtualMachine()
public boolean hasVirtualMachine()
Use a Compute Engine VM image to start the managed notebook instance.
.google.cloud.notebooks.v1.VirtualMachine virtual_machine = 2;
Returns
Type | Description |
boolean | Whether the virtualMachine field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static Runtime.Builder newBuilder()
Returns
newBuilder(Runtime prototype)
public static Runtime.Builder newBuilder(Runtime prototype)
Parameter
Returns
newBuilderForType()
public Runtime.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Runtime.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static Runtime parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Runtime parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Runtime parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Runtime parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Runtime parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Runtime parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Runtime parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Runtime parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Runtime parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Runtime parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Runtime parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Runtime parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Runtime> parser()
Returns
toBuilder()
public Runtime.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions