public static final class Environment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder> implements EnvironmentOrBuilder
Definition of a software environment that is used to start a notebook instance.Protobuf type
google.cloud.notebooks.v1beta1.Environment| Modifier and Type | Method and Description |
|---|---|
Environment.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Environment |
build() |
Environment |
buildPartial() |
Environment.Builder |
clear() |
Environment.Builder |
clearContainerImage()
Use a container image to start the notebook instance.
|
Environment.Builder |
clearCreateTime()
Output only.
|
Environment.Builder |
clearDescription()
A brief description of this environment.
|
Environment.Builder |
clearDisplayName()
Display name of this environment for the UI.
|
Environment.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Environment.Builder |
clearImageType() |
Environment.Builder |
clearName()
Output only.
|
Environment.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Environment.Builder |
clearPostStartupScript()
Path to a Bash script that automatically runs after a notebook instance
fully boots up.
|
Environment.Builder |
clearVmImage()
Use a Compute Engine VM image to start the notebook instance.
|
Environment.Builder |
clone() |
ContainerImage |
getContainerImage()
Use a container image to start the notebook instance.
|
ContainerImage.Builder |
getContainerImageBuilder()
Use a container image to start the notebook instance.
|
ContainerImageOrBuilder |
getContainerImageOrBuilder()
Use a container image to start the notebook instance.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
Environment |
getDefaultInstanceForType() |
String |
getDescription()
A brief description of this environment.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
A brief description of this environment.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
Display name of this environment for the UI.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Display name of this environment for the UI.
|
Environment.ImageTypeCase |
getImageTypeCase() |
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
String |
getPostStartupScript()
Path to a Bash script that automatically runs after a notebook instance
fully boots up.
|
com.google.protobuf.ByteString |
getPostStartupScriptBytes()
Path to a Bash script that automatically runs after a notebook instance
fully boots up.
|
VmImage |
getVmImage()
Use a Compute Engine VM image to start the notebook instance.
|
VmImage.Builder |
getVmImageBuilder()
Use a Compute Engine VM image to start the notebook instance.
|
VmImageOrBuilder |
getVmImageOrBuilder()
Use a Compute Engine VM image to start the notebook instance.
|
boolean |
hasContainerImage()
Use a container image to start the notebook instance.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasVmImage()
Use a Compute Engine VM image to start the notebook instance.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Environment.Builder |
mergeContainerImage(ContainerImage value)
Use a container image to start the notebook instance.
|
Environment.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Environment.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Environment.Builder |
mergeFrom(Environment other) |
Environment.Builder |
mergeFrom(com.google.protobuf.Message other) |
Environment.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Environment.Builder |
mergeVmImage(VmImage value)
Use a Compute Engine VM image to start the notebook instance.
|
Environment.Builder |
setContainerImage(ContainerImage.Builder builderForValue)
Use a container image to start the notebook instance.
|
Environment.Builder |
setContainerImage(ContainerImage value)
Use a container image to start the notebook instance.
|
Environment.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Environment.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Environment.Builder |
setDescription(String value)
A brief description of this environment.
|
Environment.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
A brief description of this environment.
|
Environment.Builder |
setDisplayName(String value)
Display name of this environment for the UI.
|
Environment.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Display name of this environment for the UI.
|
Environment.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Environment.Builder |
setName(String value)
Output only.
|
Environment.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
Environment.Builder |
setPostStartupScript(String value)
Path to a Bash script that automatically runs after a notebook instance
fully boots up.
|
Environment.Builder |
setPostStartupScriptBytes(com.google.protobuf.ByteString value)
Path to a Bash script that automatically runs after a notebook instance
fully boots up.
|
Environment.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Environment.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Environment.Builder |
setVmImage(VmImage.Builder builderForValue)
Use a Compute Engine VM image to start the notebook instance.
|
Environment.Builder |
setVmImage(VmImage value)
Use a Compute Engine VM image to start the notebook instance.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>public Environment.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>public Environment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Environment build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Environment buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Environment.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>public Environment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>public Environment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>public Environment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>public Environment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>public Environment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>public Environment.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Environment.Builder>public Environment.Builder mergeFrom(Environment other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>public Environment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Environment.Builder>IOExceptionpublic Environment.ImageTypeCase getImageTypeCase()
getImageTypeCase in interface EnvironmentOrBuilderpublic Environment.Builder clearImageType()
public String getName()
Output only. Name of this environment.
Format:
`projects/{project_id}/locations/{location}/environments/{environment_id}`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface EnvironmentOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. Name of this environment.
Format:
`projects/{project_id}/locations/{location}/environments/{environment_id}`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface EnvironmentOrBuilderpublic Environment.Builder setName(String value)
Output only. Name of this environment.
Format:
`projects/{project_id}/locations/{location}/environments/{environment_id}`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public Environment.Builder clearName()
Output only. Name of this environment.
Format:
`projects/{project_id}/locations/{location}/environments/{environment_id}`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public Environment.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. Name of this environment.
Format:
`projects/{project_id}/locations/{location}/environments/{environment_id}`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public String getDisplayName()
Display name of this environment for the UI.
string display_name = 2;getDisplayName in interface EnvironmentOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Display name of this environment for the UI.
string display_name = 2;getDisplayNameBytes in interface EnvironmentOrBuilderpublic Environment.Builder setDisplayName(String value)
Display name of this environment for the UI.
string display_name = 2;value - The displayName to set.public Environment.Builder clearDisplayName()
Display name of this environment for the UI.
string display_name = 2;public Environment.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Display name of this environment for the UI.
string display_name = 2;value - The bytes for displayName to set.public String getDescription()
A brief description of this environment.
string description = 3;getDescription in interface EnvironmentOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
A brief description of this environment.
string description = 3;getDescriptionBytes in interface EnvironmentOrBuilderpublic Environment.Builder setDescription(String value)
A brief description of this environment.
string description = 3;value - The description to set.public Environment.Builder clearDescription()
A brief description of this environment.
string description = 3;public Environment.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
A brief description of this environment.
string description = 3;value - The bytes for description to set.public boolean hasVmImage()
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1beta1.VmImage vm_image = 6;hasVmImage in interface EnvironmentOrBuilderpublic VmImage getVmImage()
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1beta1.VmImage vm_image = 6;getVmImage in interface EnvironmentOrBuilderpublic Environment.Builder setVmImage(VmImage value)
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1beta1.VmImage vm_image = 6;public Environment.Builder setVmImage(VmImage.Builder builderForValue)
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1beta1.VmImage vm_image = 6;public Environment.Builder mergeVmImage(VmImage value)
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1beta1.VmImage vm_image = 6;public Environment.Builder clearVmImage()
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1beta1.VmImage vm_image = 6;public VmImage.Builder getVmImageBuilder()
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1beta1.VmImage vm_image = 6;public VmImageOrBuilder getVmImageOrBuilder()
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1beta1.VmImage vm_image = 6;getVmImageOrBuilder in interface EnvironmentOrBuilderpublic boolean hasContainerImage()
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1beta1.ContainerImage container_image = 7;hasContainerImage in interface EnvironmentOrBuilderpublic ContainerImage getContainerImage()
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1beta1.ContainerImage container_image = 7;getContainerImage in interface EnvironmentOrBuilderpublic Environment.Builder setContainerImage(ContainerImage value)
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1beta1.ContainerImage container_image = 7;public Environment.Builder setContainerImage(ContainerImage.Builder builderForValue)
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1beta1.ContainerImage container_image = 7;public Environment.Builder mergeContainerImage(ContainerImage value)
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1beta1.ContainerImage container_image = 7;public Environment.Builder clearContainerImage()
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1beta1.ContainerImage container_image = 7;public ContainerImage.Builder getContainerImageBuilder()
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1beta1.ContainerImage container_image = 7;public ContainerImageOrBuilder getContainerImageOrBuilder()
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1beta1.ContainerImage container_image = 7;getContainerImageOrBuilder in interface EnvironmentOrBuilderpublic String getPostStartupScript()
Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path. Example: `"gs://path-to-file/file-name"`
string post_startup_script = 8;getPostStartupScript in interface EnvironmentOrBuilderpublic com.google.protobuf.ByteString getPostStartupScriptBytes()
Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path. Example: `"gs://path-to-file/file-name"`
string post_startup_script = 8;getPostStartupScriptBytes in interface EnvironmentOrBuilderpublic Environment.Builder setPostStartupScript(String value)
Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path. Example: `"gs://path-to-file/file-name"`
string post_startup_script = 8;value - The postStartupScript to set.public Environment.Builder clearPostStartupScript()
Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path. Example: `"gs://path-to-file/file-name"`
string post_startup_script = 8;public Environment.Builder setPostStartupScriptBytes(com.google.protobuf.ByteString value)
Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path. Example: `"gs://path-to-file/file-name"`
string post_startup_script = 8;value - The bytes for postStartupScript to set.public boolean hasCreateTime()
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface EnvironmentOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface EnvironmentOrBuilderpublic Environment.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Environment.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Environment.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Environment.Builder clearCreateTime()
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface EnvironmentOrBuilderpublic final Environment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>public final Environment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Environment.Builder>Copyright © 2024 Google LLC. All rights reserved.