public final class Execution extends GeneratedMessageV3 implements ExecutionOrBuilder
The definition of a single executed notebook.
Protobuf type google.cloud.notebooks.v1.Execution
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
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
EXECUTION_TEMPLATE_FIELD_NUMBER
public static final int EXECUTION_TEMPLATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
JOB_URI_FIELD_NUMBER
public static final int JOB_URI_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OUTPUT_NOTEBOOK_FILE_FIELD_NUMBER
public static final int OUTPUT_NOTEBOOK_FILE_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 |
|
Static Methods
getDefaultInstance()
public static Execution getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Execution.Builder newBuilder()
newBuilder(Execution prototype)
public static Execution.Builder newBuilder(Execution prototype)
Parameter |
Name |
Description |
prototype |
Execution
|
public static Execution parseDelimitedFrom(InputStream input)
public static Execution parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Execution parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Execution parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Execution parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Execution parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Execution parseFrom(CodedInputStream input)
public static Execution parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Execution parseFrom(InputStream input)
public static Execution parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Execution parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Execution parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Execution> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCreateTime()
public Timestamp getCreateTime()
Output only. Time the Execution was instantiated.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time the Execution was instantiated.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public Execution getDefaultInstanceForType()
getDescription()
public String getDescription()
A brief description of this execution.
string description = 4;
Returns |
Type |
Description |
String |
The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
A brief description of this execution.
string description = 4;
Returns |
Type |
Description |
ByteString |
The bytes for description.
|
getDisplayName()
public String getDisplayName()
Output only. Name used for UI purposes.
Name can only contain alphanumeric characters and underscores '_'.
string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Output only. Name used for UI purposes.
Name can only contain alphanumeric characters and underscores '_'.
string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for displayName.
|
getExecutionTemplate()
public ExecutionTemplate getExecutionTemplate()
execute metadata including name, hardware spec, region, labels, etc.
.google.cloud.notebooks.v1.ExecutionTemplate execution_template = 1;
getExecutionTemplateOrBuilder()
public ExecutionTemplateOrBuilder getExecutionTemplateOrBuilder()
execute metadata including name, hardware spec, region, labels, etc.
.google.cloud.notebooks.v1.ExecutionTemplate execution_template = 1;
getJobUri()
public String getJobUri()
Output only. The URI of the external job used to execute the notebook.
string job_uri = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The jobUri.
|
getJobUriBytes()
public ByteString getJobUriBytes()
Output only. The URI of the external job used to execute the notebook.
string job_uri = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for jobUri.
|
getName()
Output only. The resource name of the execute. Format:
projects/{project_id}/locations/{location}/executions/{execution_id}
string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Output only. The resource name of the execute. Format:
projects/{project_id}/locations/{location}/executions/{execution_id}
string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getOutputNotebookFile()
public String getOutputNotebookFile()
Output notebook file generated by this execution
string output_notebook_file = 8;
Returns |
Type |
Description |
String |
The outputNotebookFile.
|
getOutputNotebookFileBytes()
public ByteString getOutputNotebookFileBytes()
Output notebook file generated by this execution
string output_notebook_file = 8;
Returns |
Type |
Description |
ByteString |
The bytes for outputNotebookFile.
|
getParserForType()
public Parser<Execution> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getState()
public Execution.State getState()
Output only. State of the underlying AI Platform job.
.google.cloud.notebooks.v1.Execution.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue()
public int getStateValue()
Output only. State of the underlying AI Platform job.
.google.cloud.notebooks.v1.Execution.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for state.
|
getUpdateTime()
public Timestamp getUpdateTime()
Output only. Time the Execution was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time the Execution was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime()
public boolean hasCreateTime()
Output only. Time the Execution was instantiated.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
hasExecutionTemplate()
public boolean hasExecutionTemplate()
execute metadata including name, hardware spec, region, labels, etc.
.google.cloud.notebooks.v1.ExecutionTemplate execution_template = 1;
Returns |
Type |
Description |
boolean |
Whether the executionTemplate field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. Time the Execution was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the updateTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Execution.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Execution.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Execution.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides