Package com.google.cloud.notebooks.v1
Class Runtime
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.notebooks.v1.Runtime
-
- All Implemented Interfaces:
RuntimeOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Runtime extends com.google.protobuf.GeneratedMessageV3 implements RuntimeOrBuilder
The definition of a Runtime for a managed notebook instance.
Protobuf typegoogle.cloud.notebooks.v1.Runtime
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Runtime.Builder
The definition of a Runtime for a managed notebook instance.static class
Runtime.HealthState
The runtime substate.static class
Runtime.RuntimeTypeCase
static class
Runtime.State
The definition of the states of this runtime.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACCESS_CONFIG_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
HEALTH_STATE_FIELD_NUMBER
static int
METRICS_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
SOFTWARE_CONFIG_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
static int
VIRTUAL_MACHINE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
RuntimeAccessConfig
getAccessConfig()
The config settings for accessing runtime.RuntimeAccessConfigOrBuilder
getAccessConfigOrBuilder()
The config settings for accessing runtime.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.static Runtime
getDefaultInstance()
Runtime
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Runtime.HealthState
getHealthState()
Output only.int
getHealthStateValue()
Output only.RuntimeMetrics
getMetrics()
Output only.RuntimeMetricsOrBuilder
getMetricsOrBuilder()
Output only.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.com.google.protobuf.Parser<Runtime>
getParserForType()
Runtime.RuntimeTypeCase
getRuntimeTypeCase()
int
getSerializedSize()
RuntimeSoftwareConfig
getSoftwareConfig()
The config settings for software inside the runtime.RuntimeSoftwareConfigOrBuilder
getSoftwareConfigOrBuilder()
The config settings for software inside the runtime.Runtime.State
getState()
Output only.int
getStateValue()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.VirtualMachine
getVirtualMachine()
Use a Compute Engine VM image to start the managed notebook instance.VirtualMachineOrBuilder
getVirtualMachineOrBuilder()
Use a Compute Engine VM image to start the managed notebook instance.boolean
hasAccessConfig()
The config settings for accessing runtime.boolean
hasCreateTime()
Output only.int
hashCode()
boolean
hasMetrics()
Output only.boolean
hasSoftwareConfig()
The config settings for software inside the runtime.boolean
hasUpdateTime()
Output only.boolean
hasVirtualMachine()
Use a Compute Engine VM image to start the managed notebook instance.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Runtime.Builder
newBuilder()
static Runtime.Builder
newBuilder(Runtime prototype)
Runtime.Builder
newBuilderForType()
protected Runtime.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Runtime
parseDelimitedFrom(InputStream input)
static Runtime
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Runtime
parseFrom(byte[] data)
static Runtime
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Runtime
parseFrom(com.google.protobuf.ByteString data)
static Runtime
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Runtime
parseFrom(com.google.protobuf.CodedInputStream input)
static Runtime
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Runtime
parseFrom(InputStream input)
static Runtime
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Runtime
parseFrom(ByteBuffer data)
static Runtime
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Runtime>
parser()
Runtime.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VIRTUAL_MACHINE_FIELD_NUMBER
public static final int VIRTUAL_MACHINE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEALTH_STATE_FIELD_NUMBER
public static final int HEALTH_STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACCESS_CONFIG_FIELD_NUMBER
public static final int ACCESS_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOFTWARE_CONFIG_FIELD_NUMBER
public static final int SOFTWARE_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METRICS_FIELD_NUMBER
public static final int METRICS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getRuntimeTypeCase
public Runtime.RuntimeTypeCase getRuntimeTypeCase()
- Specified by:
getRuntimeTypeCase
in interfaceRuntimeOrBuilder
-
getName
public 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];
- Specified by:
getName
in interfaceRuntimeOrBuilder
- Returns:
- The name.
-
getNameBytes
public 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];
- Specified by:
getNameBytes
in interfaceRuntimeOrBuilder
- Returns:
- The bytes for name.
-
hasVirtualMachine
public boolean hasVirtualMachine()
Use a Compute Engine VM image to start the managed notebook instance.
.google.cloud.notebooks.v1.VirtualMachine virtual_machine = 2;
- Specified by:
hasVirtualMachine
in interfaceRuntimeOrBuilder
- Returns:
- Whether the virtualMachine field is set.
-
getVirtualMachine
public VirtualMachine getVirtualMachine()
Use a Compute Engine VM image to start the managed notebook instance.
.google.cloud.notebooks.v1.VirtualMachine virtual_machine = 2;
- Specified by:
getVirtualMachine
in interfaceRuntimeOrBuilder
- Returns:
- The virtualMachine.
-
getVirtualMachineOrBuilder
public VirtualMachineOrBuilder getVirtualMachineOrBuilder()
Use a Compute Engine VM image to start the managed notebook instance.
.google.cloud.notebooks.v1.VirtualMachine virtual_machine = 2;
- Specified by:
getVirtualMachineOrBuilder
in interfaceRuntimeOrBuilder
-
getStateValue
public int getStateValue()
Output only. Runtime state.
.google.cloud.notebooks.v1.Runtime.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfaceRuntimeOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
getState
public Runtime.State getState()
Output only. Runtime state.
.google.cloud.notebooks.v1.Runtime.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfaceRuntimeOrBuilder
- Returns:
- The state.
-
getHealthStateValue
public int getHealthStateValue()
Output only. Runtime health_state.
.google.cloud.notebooks.v1.Runtime.HealthState health_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getHealthStateValue
in interfaceRuntimeOrBuilder
- Returns:
- The enum numeric value on the wire for healthState.
-
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];
- Specified by:
getHealthState
in interfaceRuntimeOrBuilder
- Returns:
- The healthState.
-
hasAccessConfig
public boolean hasAccessConfig()
The config settings for accessing runtime.
.google.cloud.notebooks.v1.RuntimeAccessConfig access_config = 5;
- Specified by:
hasAccessConfig
in interfaceRuntimeOrBuilder
- Returns:
- Whether the accessConfig field is set.
-
getAccessConfig
public RuntimeAccessConfig getAccessConfig()
The config settings for accessing runtime.
.google.cloud.notebooks.v1.RuntimeAccessConfig access_config = 5;
- Specified by:
getAccessConfig
in interfaceRuntimeOrBuilder
- Returns:
- The accessConfig.
-
getAccessConfigOrBuilder
public RuntimeAccessConfigOrBuilder getAccessConfigOrBuilder()
The config settings for accessing runtime.
.google.cloud.notebooks.v1.RuntimeAccessConfig access_config = 5;
- Specified by:
getAccessConfigOrBuilder
in interfaceRuntimeOrBuilder
-
hasSoftwareConfig
public boolean hasSoftwareConfig()
The config settings for software inside the runtime.
.google.cloud.notebooks.v1.RuntimeSoftwareConfig software_config = 6;
- Specified by:
hasSoftwareConfig
in interfaceRuntimeOrBuilder
- Returns:
- Whether the softwareConfig field is set.
-
getSoftwareConfig
public RuntimeSoftwareConfig getSoftwareConfig()
The config settings for software inside the runtime.
.google.cloud.notebooks.v1.RuntimeSoftwareConfig software_config = 6;
- Specified by:
getSoftwareConfig
in interfaceRuntimeOrBuilder
- Returns:
- The softwareConfig.
-
getSoftwareConfigOrBuilder
public RuntimeSoftwareConfigOrBuilder getSoftwareConfigOrBuilder()
The config settings for software inside the runtime.
.google.cloud.notebooks.v1.RuntimeSoftwareConfig software_config = 6;
- Specified by:
getSoftwareConfigOrBuilder
in interfaceRuntimeOrBuilder
-
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];
- Specified by:
hasMetrics
in interfaceRuntimeOrBuilder
- Returns:
- Whether the metrics field is set.
-
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];
- Specified by:
getMetrics
in interfaceRuntimeOrBuilder
- Returns:
- The metrics.
-
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];
- Specified by:
getMetricsOrBuilder
in interfaceRuntimeOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
Output only. Runtime creation time.
.google.protobuf.Timestamp create_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceRuntimeOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Runtime creation time.
.google.protobuf.Timestamp create_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceRuntimeOrBuilder
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Runtime creation time.
.google.protobuf.Timestamp create_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceRuntimeOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Runtime update time.
.google.protobuf.Timestamp update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceRuntimeOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. Runtime update time.
.google.protobuf.Timestamp update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceRuntimeOrBuilder
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Runtime update time.
.google.protobuf.Timestamp update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceRuntimeOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Runtime parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Runtime parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Runtime parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Runtime parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Runtime parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Runtime parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Runtime parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Runtime parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Runtime parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Runtime parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Runtime parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Runtime parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Runtime.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Runtime.Builder newBuilder()
-
newBuilder
public static Runtime.Builder newBuilder(Runtime prototype)
-
toBuilder
public Runtime.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Runtime.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Runtime getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Runtime> parser()
-
getParserForType
public com.google.protobuf.Parser<Runtime> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Runtime getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-