public final class Runtime extends GeneratedMessageV3 implements RuntimeOrBuilder
The definition of a Runtime for a managed notebook instance.
Protobuf type google.events.cloud.notebooks.v1.Runtime
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 |
|
LABELS_FIELD_NUMBER
public static final int LABELS_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
containsLabels(String key)
public boolean containsLabels(String key)
Optional. The labels to associate with this Managed Notebook or Runtime.
Label keys must contain 1 to 63 characters, and must conform to
RFC 1035.
Label values may be empty, but, if present, must contain 1 to 63
characters, and must conform to RFC
1035. No more than 32 labels can be
associated with a cluster.
map<string, string> labels = 23;
Parameter |
Name |
Description |
key |
String
|
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.events.cloud.notebooks.v1.RuntimeAccessConfig access_config = 5;
getAccessConfigOrBuilder()
public RuntimeAccessConfigOrBuilder getAccessConfigOrBuilder()
The config settings for accessing runtime.
.google.events.cloud.notebooks.v1.RuntimeAccessConfig access_config = 5;
getCreateTime()
public Timestamp getCreateTime()
Output only. Runtime creation time.
.google.protobuf.Timestamp create_time = 20;
Returns |
Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Runtime creation time.
.google.protobuf.Timestamp create_time = 20;
getDefaultInstanceForType()
public Runtime getDefaultInstanceForType()
getHealthState()
public Runtime.HealthState getHealthState()
Output only. Runtime health_state.
.google.events.cloud.notebooks.v1.Runtime.HealthState health_state = 4;
getHealthStateValue()
public int getHealthStateValue()
Output only. Runtime health_state.
.google.events.cloud.notebooks.v1.Runtime.HealthState health_state = 4;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for healthState.
|
getLabels()
public Map<String,String> getLabels()
getLabelsCount()
public int getLabelsCount()
Optional. The labels to associate with this Managed Notebook or Runtime.
Label keys must contain 1 to 63 characters, and must conform to
RFC 1035.
Label values may be empty, but, if present, must contain 1 to 63
characters, and must conform to RFC
1035. No more than 32 labels can be
associated with a cluster.
map<string, string> labels = 23;
Returns |
Type |
Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()
Optional. The labels to associate with this Managed Notebook or Runtime.
Label keys must contain 1 to 63 characters, and must conform to
RFC 1035.
Label values may be empty, but, if present, must contain 1 to 63
characters, and must conform to RFC
1035. No more than 32 labels can be
associated with a cluster.
map<string, string> labels = 23;
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Optional. The labels to associate with this Managed Notebook or Runtime.
Label keys must contain 1 to 63 characters, and must conform to
RFC 1035.
Label values may be empty, but, if present, must contain 1 to 63
characters, and must conform to RFC
1035. No more than 32 labels can be
associated with a cluster.
map<string, string> labels = 23;
Returns |
Type |
Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Optional. The labels to associate with this Managed Notebook or Runtime.
Label keys must contain 1 to 63 characters, and must conform to
RFC 1035.
Label values may be empty, but, if present, must contain 1 to 63
characters, and must conform to RFC
1035. No more than 32 labels can be
associated with a cluster.
map<string, string> labels = 23;
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getMetrics()
public RuntimeMetrics getMetrics()
Output only. Contains Runtime daemon metrics such as Service status and
JupyterLab stats.
.google.events.cloud.notebooks.v1.RuntimeMetrics metrics = 7;
getMetricsOrBuilder()
public RuntimeMetricsOrBuilder getMetricsOrBuilder()
Output only. Contains Runtime daemon metrics such as Service status and
JupyterLab stats.
.google.events.cloud.notebooks.v1.RuntimeMetrics metrics = 7;
getName()
Output only. The resource name of the runtime.
Format:
projects/{project}/locations/{location}/runtimes/{runtimeId}
string name = 1;
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;
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.events.cloud.notebooks.v1.RuntimeSoftwareConfig software_config = 6;
getSoftwareConfigOrBuilder()
public RuntimeSoftwareConfigOrBuilder getSoftwareConfigOrBuilder()
The config settings for software inside the runtime.
.google.events.cloud.notebooks.v1.RuntimeSoftwareConfig software_config = 6;
getState()
public Runtime.State getState()
Output only. Runtime state.
.google.events.cloud.notebooks.v1.Runtime.State state = 3;
getStateValue()
public int getStateValue()
Output only. Runtime state.
.google.events.cloud.notebooks.v1.Runtime.State state = 3;
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;
Returns |
Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Runtime update time.
.google.protobuf.Timestamp update_time = 21;
getVirtualMachine()
public VirtualMachine getVirtualMachine()
Use a Compute Engine VM image to start the managed notebook instance.
.google.events.cloud.notebooks.v1.VirtualMachine virtual_machine = 2;
getVirtualMachineOrBuilder()
public VirtualMachineOrBuilder getVirtualMachineOrBuilder()
Use a Compute Engine VM image to start the managed notebook instance.
.google.events.cloud.notebooks.v1.VirtualMachine virtual_machine = 2;
hasAccessConfig()
public boolean hasAccessConfig()
The config settings for accessing runtime.
.google.events.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;
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.events.cloud.notebooks.v1.RuntimeMetrics metrics = 7;
Returns |
Type |
Description |
boolean |
Whether the metrics field is set.
|
hasSoftwareConfig()
public boolean hasSoftwareConfig()
The config settings for software inside the runtime.
.google.events.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;
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.events.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
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
Name |
Description |
number |
int
|
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)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Runtime.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides