public final class Execution extends GeneratedMessageV3 implements ExecutionOrBuilder
The definition of a single executed notebook.
Protobuf type google.cloud.notebooks.v1.Execution
Static Fields
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
EXECUTION_TEMPLATE_FIELD_NUMBER
public static final int EXECUTION_TEMPLATE_FIELD_NUMBER
Field Value
JOB_URI_FIELD_NUMBER
public static final int JOB_URI_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
OUTPUT_NOTEBOOK_FILE_FIELD_NUMBER
public static final int OUTPUT_NOTEBOOK_FILE_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Execution getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Execution.Builder newBuilder()
Returns
newBuilder(Execution prototype)
public static Execution.Builder newBuilder(Execution prototype)
Parameter
Returns
public static Execution parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Execution parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Execution parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Execution parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Execution parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Execution parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Execution parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Execution parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Execution parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Execution parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Execution parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Execution parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Execution> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time the Execution was instantiated.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getDefaultInstanceForType()
public Execution getDefaultInstanceForType()
Returns
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;
Returns
getExecutionTemplateOrBuilder()
public ExecutionTemplateOrBuilder getExecutionTemplateOrBuilder()
execute metadata including name, hardware spec, region, labels, etc.
.google.cloud.notebooks.v1.ExecutionTemplate execution_template = 1;
Returns
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
getName()
Output only. The resource name of the execute. Format:
projects/{project_id}/locations/{location}/execution/{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}/execution/{execution_id}
string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
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()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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];
Returns
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time the Execution was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Execution.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Execution.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Execution.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions