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 classRuntime.BuilderThe definition of a Runtime for a managed notebook instance.static classRuntime.HealthStateThe runtime substate.static classRuntime.RuntimeTypeCasestatic classRuntime.StateThe 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 intACCESS_CONFIG_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERstatic intHEALTH_STATE_FIELD_NUMBERstatic intMETRICS_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intSOFTWARE_CONFIG_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBERstatic intVIRTUAL_MACHINE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)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.static RuntimegetDefaultInstance()RuntimegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Runtime.HealthStategetHealthState()Output only.intgetHealthStateValue()Output only.RuntimeMetricsgetMetrics()Output only.RuntimeMetricsOrBuildergetMetricsOrBuilder()Output only.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.com.google.protobuf.Parser<Runtime>getParserForType()Runtime.RuntimeTypeCasegetRuntimeTypeCase()intgetSerializedSize()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.inthashCode()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Runtime.BuildernewBuilder()static Runtime.BuildernewBuilder(Runtime prototype)Runtime.BuildernewBuilderForType()protected Runtime.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static RuntimeparseDelimitedFrom(InputStream input)static RuntimeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RuntimeparseFrom(byte[] data)static RuntimeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RuntimeparseFrom(com.google.protobuf.ByteString data)static RuntimeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RuntimeparseFrom(com.google.protobuf.CodedInputStream input)static RuntimeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RuntimeparseFrom(InputStream input)static RuntimeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RuntimeparseFrom(ByteBuffer data)static RuntimeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Runtime>parser()Runtime.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getRuntimeTypeCase
public Runtime.RuntimeTypeCase getRuntimeTypeCase()
- Specified by:
getRuntimeTypeCasein 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:
getNamein 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:
getNameBytesin 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:
hasVirtualMachinein 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:
getVirtualMachinein 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:
getVirtualMachineOrBuilderin 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:
getStateValuein 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:
getStatein 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:
getHealthStateValuein 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:
getHealthStatein interfaceRuntimeOrBuilder- Returns:
- The healthState.
-
hasAccessConfig
public boolean hasAccessConfig()
The config settings for accessing runtime.
.google.cloud.notebooks.v1.RuntimeAccessConfig access_config = 5;- Specified by:
hasAccessConfigin 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:
getAccessConfigin interfaceRuntimeOrBuilder- Returns:
- The accessConfig.
-
getAccessConfigOrBuilder
public RuntimeAccessConfigOrBuilder getAccessConfigOrBuilder()
The config settings for accessing runtime.
.google.cloud.notebooks.v1.RuntimeAccessConfig access_config = 5;- Specified by:
getAccessConfigOrBuilderin interfaceRuntimeOrBuilder
-
hasSoftwareConfig
public boolean hasSoftwareConfig()
The config settings for software inside the runtime.
.google.cloud.notebooks.v1.RuntimeSoftwareConfig software_config = 6;- Specified by:
hasSoftwareConfigin 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:
getSoftwareConfigin 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:
getSoftwareConfigOrBuilderin 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:
hasMetricsin 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:
getMetricsin 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:
getMetricsOrBuilderin interfaceRuntimeOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
Output only. Runtime creation time.
.google.protobuf.Timestamp create_time = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein 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:
getCreateTimein 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:
getCreateTimeOrBuilderin interfaceRuntimeOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Runtime update time.
.google.protobuf.Timestamp update_time = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein 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:
getUpdateTimein 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:
getUpdateTimeOrBuilderin interfaceRuntimeOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Runtime.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Runtime getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-