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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
ACCESS_CONFIG_FIELD_NUMBER
public static final int ACCESS_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
HEALTH_STATE_FIELD_NUMBER
public static final int HEALTH_STATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
METRICS_FIELD_NUMBER
public static final int METRICS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SOFTWARE_CONFIG_FIELD_NUMBER
public static final int SOFTWARE_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VIRTUAL_MACHINE_FIELD_NUMBER
public static final int VIRTUAL_MACHINE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Runtime getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Runtime.Builder newBuilder()
newBuilder(Runtime prototype)
public static Runtime.Builder newBuilder(Runtime prototype)
Parameter |
---|
Name | Description |
prototype | Runtime
|
public static Runtime parseDelimitedFrom(InputStream input)
public static Runtime parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Runtime parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Runtime parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Runtime parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Runtime parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Runtime parseFrom(CodedInputStream input)
public static Runtime parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Runtime parseFrom(InputStream input)
public static Runtime parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Runtime parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Runtime parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Runtime> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAccessConfig()
public RuntimeAccessConfig getAccessConfig()
The config settings for accessing runtime.
.google.cloud.notebooks.v1.RuntimeAccessConfig access_config = 5;
getAccessConfigOrBuilder()
public RuntimeAccessConfigOrBuilder getAccessConfigOrBuilder()
The config settings for accessing runtime.
.google.cloud.notebooks.v1.RuntimeAccessConfig access_config = 5;
getCreateTime()
public Timestamp getCreateTime()
Output only. Runtime creation time.
.google.protobuf.Timestamp create_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
Timestamp | The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Runtime creation time.
.google.protobuf.Timestamp create_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public Runtime getDefaultInstanceForType()
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];
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];
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];
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 |
---|
Type | Description |
ByteString | The bytes for name.
|
getParserForType()
public Parser<Runtime> getParserForType()
Overrides
getRuntimeTypeCase()
public Runtime.RuntimeTypeCase getRuntimeTypeCase()
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSoftwareConfig()
public RuntimeSoftwareConfig getSoftwareConfig()
The config settings for software inside the runtime.
.google.cloud.notebooks.v1.RuntimeSoftwareConfig software_config = 6;
getSoftwareConfigOrBuilder()
public RuntimeSoftwareConfigOrBuilder getSoftwareConfigOrBuilder()
The config settings for software inside the runtime.
.google.cloud.notebooks.v1.RuntimeSoftwareConfig software_config = 6;
getState()
public Runtime.State getState()
Output only. Runtime state.
.google.cloud.notebooks.v1.Runtime.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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()
Overrides
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Runtime update time.
.google.protobuf.Timestamp update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
Timestamp | The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Runtime update time.
.google.protobuf.Timestamp update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
getVirtualMachine()
public VirtualMachine getVirtualMachine()
Use a Compute Engine VM image to start the managed notebook instance.
.google.cloud.notebooks.v1.VirtualMachine virtual_machine = 2;
getVirtualMachineOrBuilder()
public VirtualMachineOrBuilder getVirtualMachineOrBuilder()
Use a Compute Engine VM image to start the managed notebook instance.
.google.cloud.notebooks.v1.VirtualMachine virtual_machine = 2;
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Runtime.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Runtime.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Runtime.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides