Package com.google.cloud.notebooks.v1
Class Execution.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
- com.google.cloud.notebooks.v1.Execution.Builder
-
- All Implemented Interfaces:
ExecutionOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Execution
public static final class Execution.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder> implements ExecutionOrBuilder
The definition of a single executed notebook.
Protobuf typegoogle.cloud.notebooks.v1.Execution
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Execution.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Execution
build()
Execution
buildPartial()
Execution.Builder
clear()
Execution.Builder
clearCreateTime()
Output only.Execution.Builder
clearDescription()
A brief description of this execution.Execution.Builder
clearDisplayName()
Output only.Execution.Builder
clearExecutionTemplate()
execute metadata including name, hardware spec, region, labels, etc.Execution.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Execution.Builder
clearJobUri()
Output only.Execution.Builder
clearName()
Output only.Execution.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Execution.Builder
clearOutputNotebookFile()
Output notebook file generated by this executionExecution.Builder
clearState()
Output only.Execution.Builder
clearUpdateTime()
Output only.Execution.Builder
clone()
com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Execution
getDefaultInstanceForType()
String
getDescription()
A brief description of this execution.com.google.protobuf.ByteString
getDescriptionBytes()
A brief description of this execution.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDisplayName()
Output only.com.google.protobuf.ByteString
getDisplayNameBytes()
Output only.ExecutionTemplate
getExecutionTemplate()
execute metadata including name, hardware spec, region, labels, etc.ExecutionTemplate.Builder
getExecutionTemplateBuilder()
execute metadata including name, hardware spec, region, labels, etc.ExecutionTemplateOrBuilder
getExecutionTemplateOrBuilder()
execute metadata including name, hardware spec, region, labels, etc.String
getJobUri()
Output only.com.google.protobuf.ByteString
getJobUriBytes()
Output only.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.String
getOutputNotebookFile()
Output notebook file generated by this executioncom.google.protobuf.ByteString
getOutputNotebookFileBytes()
Output notebook file generated by this executionExecution.State
getState()
Output only.int
getStateValue()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCreateTime()
Output only.boolean
hasExecutionTemplate()
execute metadata including name, hardware spec, region, labels, etc.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Execution.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Execution.Builder
mergeExecutionTemplate(ExecutionTemplate value)
execute metadata including name, hardware spec, region, labels, etc.Execution.Builder
mergeFrom(Execution other)
Execution.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Execution.Builder
mergeFrom(com.google.protobuf.Message other)
Execution.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Execution.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.Execution.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Execution.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Execution.Builder
setDescription(String value)
A brief description of this execution.Execution.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
A brief description of this execution.Execution.Builder
setDisplayName(String value)
Output only.Execution.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
Output only.Execution.Builder
setExecutionTemplate(ExecutionTemplate value)
execute metadata including name, hardware spec, region, labels, etc.Execution.Builder
setExecutionTemplate(ExecutionTemplate.Builder builderForValue)
execute metadata including name, hardware spec, region, labels, etc.Execution.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Execution.Builder
setJobUri(String value)
Output only.Execution.Builder
setJobUriBytes(com.google.protobuf.ByteString value)
Output only.Execution.Builder
setName(String value)
Output only.Execution.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.Execution.Builder
setOutputNotebookFile(String value)
Output notebook file generated by this executionExecution.Builder
setOutputNotebookFileBytes(com.google.protobuf.ByteString value)
Output notebook file generated by this executionExecution.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Execution.Builder
setState(Execution.State value)
Output only.Execution.Builder
setStateValue(int value)
Output only.Execution.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Execution.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Execution.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<Execution.Builder>
-
clear
public Execution.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
getDefaultInstanceForType
public Execution getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Execution build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Execution buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Execution.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
setField
public Execution.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
clearField
public Execution.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
clearOneof
public Execution.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
setRepeatedField
public Execution.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
addRepeatedField
public Execution.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
mergeFrom
public Execution.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Execution.Builder>
-
mergeFrom
public Execution.Builder mergeFrom(Execution other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
mergeFrom
public Execution.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Execution.Builder>
- Throws:
IOException
-
hasExecutionTemplate
public boolean hasExecutionTemplate()
execute metadata including name, hardware spec, region, labels, etc.
.google.cloud.notebooks.v1.ExecutionTemplate execution_template = 1;
- Specified by:
hasExecutionTemplate
in interfaceExecutionOrBuilder
- Returns:
- Whether the executionTemplate field is set.
-
getExecutionTemplate
public ExecutionTemplate getExecutionTemplate()
execute metadata including name, hardware spec, region, labels, etc.
.google.cloud.notebooks.v1.ExecutionTemplate execution_template = 1;
- Specified by:
getExecutionTemplate
in interfaceExecutionOrBuilder
- Returns:
- The executionTemplate.
-
setExecutionTemplate
public Execution.Builder setExecutionTemplate(ExecutionTemplate value)
execute metadata including name, hardware spec, region, labels, etc.
.google.cloud.notebooks.v1.ExecutionTemplate execution_template = 1;
-
setExecutionTemplate
public Execution.Builder setExecutionTemplate(ExecutionTemplate.Builder builderForValue)
execute metadata including name, hardware spec, region, labels, etc.
.google.cloud.notebooks.v1.ExecutionTemplate execution_template = 1;
-
mergeExecutionTemplate
public Execution.Builder mergeExecutionTemplate(ExecutionTemplate value)
execute metadata including name, hardware spec, region, labels, etc.
.google.cloud.notebooks.v1.ExecutionTemplate execution_template = 1;
-
clearExecutionTemplate
public Execution.Builder clearExecutionTemplate()
execute metadata including name, hardware spec, region, labels, etc.
.google.cloud.notebooks.v1.ExecutionTemplate execution_template = 1;
-
getExecutionTemplateBuilder
public ExecutionTemplate.Builder getExecutionTemplateBuilder()
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;
- Specified by:
getExecutionTemplateOrBuilder
in interfaceExecutionOrBuilder
-
getName
public String 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];
- Specified by:
getName
in interfaceExecutionOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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];
- Specified by:
getNameBytes
in interfaceExecutionOrBuilder
- Returns:
- The bytes for name.
-
setName
public Execution.Builder setName(String value)
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];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Execution.Builder clearName()
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:
- This builder for chaining.
-
setNameBytes
public Execution.Builder setNameBytes(com.google.protobuf.ByteString value)
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];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
getDisplayName
in interfaceExecutionOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.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];
- Specified by:
getDisplayNameBytes
in interfaceExecutionOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
public Execution.Builder setDisplayName(String value)
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];
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public Execution.Builder clearDisplayName()
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:
- This builder for chaining.
-
setDisplayNameBytes
public Execution.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
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];
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
A brief description of this execution.
string description = 4;
- Specified by:
getDescription
in interfaceExecutionOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
A brief description of this execution.
string description = 4;
- Specified by:
getDescriptionBytes
in interfaceExecutionOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public Execution.Builder setDescription(String value)
A brief description of this execution.
string description = 4;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Execution.Builder clearDescription()
A brief description of this execution.
string description = 4;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Execution.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
A brief description of this execution.
string description = 4;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. Time the Execution was instantiated.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceExecutionOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Time the Execution was instantiated.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceExecutionOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public Execution.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Time the Execution was instantiated.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Execution.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time the Execution was instantiated.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Execution.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Time the Execution was instantiated.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public Execution.Builder clearCreateTime()
Output only. Time the Execution was instantiated.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Time the Execution was instantiated.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time the Execution was instantiated.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceExecutionOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Time the Execution was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceExecutionOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. Time the Execution was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceExecutionOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public Execution.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Time the Execution was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public Execution.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time the Execution was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public Execution.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Time the Execution was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public Execution.Builder clearUpdateTime()
Output only. Time the Execution was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Time the Execution was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time the Execution was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceExecutionOrBuilder
-
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];
- Specified by:
getStateValue
in interfaceExecutionOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public Execution.Builder setStateValue(int value)
Output only. State of the underlying AI Platform job.
.google.cloud.notebooks.v1.Execution.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
getState
in interfaceExecutionOrBuilder
- Returns:
- The state.
-
setState
public Execution.Builder setState(Execution.State value)
Output only. State of the underlying AI Platform job.
.google.cloud.notebooks.v1.Execution.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
public Execution.Builder clearState()
Output only. State of the underlying AI Platform job.
.google.cloud.notebooks.v1.Execution.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getOutputNotebookFile
public String getOutputNotebookFile()
Output notebook file generated by this execution
string output_notebook_file = 8;
- Specified by:
getOutputNotebookFile
in interfaceExecutionOrBuilder
- Returns:
- The outputNotebookFile.
-
getOutputNotebookFileBytes
public com.google.protobuf.ByteString getOutputNotebookFileBytes()
Output notebook file generated by this execution
string output_notebook_file = 8;
- Specified by:
getOutputNotebookFileBytes
in interfaceExecutionOrBuilder
- Returns:
- The bytes for outputNotebookFile.
-
setOutputNotebookFile
public Execution.Builder setOutputNotebookFile(String value)
Output notebook file generated by this execution
string output_notebook_file = 8;
- Parameters:
value
- The outputNotebookFile to set.- Returns:
- This builder for chaining.
-
clearOutputNotebookFile
public Execution.Builder clearOutputNotebookFile()
Output notebook file generated by this execution
string output_notebook_file = 8;
- Returns:
- This builder for chaining.
-
setOutputNotebookFileBytes
public Execution.Builder setOutputNotebookFileBytes(com.google.protobuf.ByteString value)
Output notebook file generated by this execution
string output_notebook_file = 8;
- Parameters:
value
- The bytes for outputNotebookFile to set.- Returns:
- This builder for chaining.
-
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];
- Specified by:
getJobUri
in interfaceExecutionOrBuilder
- Returns:
- The jobUri.
-
getJobUriBytes
public com.google.protobuf.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];
- Specified by:
getJobUriBytes
in interfaceExecutionOrBuilder
- Returns:
- The bytes for jobUri.
-
setJobUri
public Execution.Builder setJobUri(String value)
Output only. The URI of the external job used to execute the notebook.
string job_uri = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The jobUri to set.- Returns:
- This builder for chaining.
-
clearJobUri
public Execution.Builder clearJobUri()
Output only. The URI of the external job used to execute the notebook.
string job_uri = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setJobUriBytes
public Execution.Builder setJobUriBytes(com.google.protobuf.ByteString value)
Output only. The URI of the external job used to execute the notebook.
string job_uri = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for jobUri to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Execution.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
mergeUnknownFields
public final Execution.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
-