- 1.51.0 (latest)
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.3
- 1.0.6
- 0.6.2
public static final class Environment.Builder extends 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Environment.BuilderImplements
EnvironmentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Environment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Environment.Builder |
build()
public Environment build()
Type | Description |
Environment |
buildPartial()
public Environment buildPartial()
Type | Description |
Environment |
clear()
public Environment.Builder clear()
Type | Description |
Environment.Builder |
clearContainerImage()
public Environment.Builder clearContainerImage()
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1beta1.ContainerImage container_image = 7;
Type | Description |
Environment.Builder |
clearCreateTime()
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];
Type | Description |
Environment.Builder |
clearDescription()
public Environment.Builder clearDescription()
A brief description of this environment.
string description = 3;
Type | Description |
Environment.Builder | This builder for chaining. |
clearDisplayName()
public Environment.Builder clearDisplayName()
Display name of this environment for the UI.
string display_name = 2;
Type | Description |
Environment.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Environment.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Environment.Builder |
clearImageType()
public Environment.Builder clearImageType()
Type | Description |
Environment.Builder |
clearName()
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];
Type | Description |
Environment.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Environment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Environment.Builder |
clearPostStartupScript()
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;
Type | Description |
Environment.Builder | This builder for chaining. |
clearVmImage()
public Environment.Builder clearVmImage()
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1beta1.VmImage vm_image = 6;
Type | Description |
Environment.Builder |
clone()
public Environment.Builder clone()
Type | Description |
Environment.Builder |
getContainerImage()
public ContainerImage getContainerImage()
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1beta1.ContainerImage container_image = 7;
Type | Description |
ContainerImage | The containerImage. |
getContainerImageBuilder()
public ContainerImage.Builder getContainerImageBuilder()
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1beta1.ContainerImage container_image = 7;
Type | Description |
ContainerImage.Builder |
getContainerImageOrBuilder()
public ContainerImageOrBuilder getContainerImageOrBuilder()
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1beta1.ContainerImage container_image = 7;
Type | Description |
ContainerImageOrBuilder |
getCreateTime()
public Timestamp getCreateTime()
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public 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];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Environment getDefaultInstanceForType()
Type | Description |
Environment |
getDescription()
public String getDescription()
A brief description of this environment.
string description = 3;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
A brief description of this environment.
string description = 3;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Display name of this environment for the UI.
string display_name = 2;
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Display name of this environment for the UI.
string display_name = 2;
Type | Description |
ByteString | The bytes for displayName. |
getImageTypeCase()
public Environment.ImageTypeCase getImageTypeCase()
Type | Description |
Environment.ImageTypeCase |
getName()
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];
Type | Description |
String | The name. |
getNameBytes()
public 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];
Type | Description |
ByteString | The bytes for name. |
getPostStartupScript()
public 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;
Type | Description |
String | The postStartupScript. |
getPostStartupScriptBytes()
public 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;
Type | Description |
ByteString | The bytes for postStartupScript. |
getVmImage()
public VmImage getVmImage()
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1beta1.VmImage vm_image = 6;
Type | Description |
VmImage | The vmImage. |
getVmImageBuilder()
public VmImage.Builder getVmImageBuilder()
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1beta1.VmImage vm_image = 6;
Type | Description |
VmImage.Builder |
getVmImageOrBuilder()
public VmImageOrBuilder getVmImageOrBuilder()
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1beta1.VmImage vm_image = 6;
Type | Description |
VmImageOrBuilder |
hasContainerImage()
public boolean hasContainerImage()
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1beta1.ContainerImage container_image = 7;
Type | Description |
boolean | Whether the containerImage field is set. |
hasCreateTime()
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];
Type | Description |
boolean | Whether the createTime field is set. |
hasVmImage()
public boolean hasVmImage()
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1beta1.VmImage vm_image = 6;
Type | Description |
boolean | Whether the vmImage field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeContainerImage(ContainerImage value)
public Environment.Builder mergeContainerImage(ContainerImage value)
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1beta1.ContainerImage container_image = 7;
Name | Description |
value | ContainerImage |
Type | Description |
Environment.Builder |
mergeCreateTime(Timestamp value)
public Environment.Builder mergeCreateTime(Timestamp value)
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Environment.Builder |
mergeFrom(Environment other)
public Environment.Builder mergeFrom(Environment other)
Name | Description |
other | Environment |
Type | Description |
Environment.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Environment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Environment.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Environment.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Environment.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Environment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Environment.Builder |
mergeVmImage(VmImage value)
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;
Name | Description |
value | VmImage |
Type | Description |
Environment.Builder |
setContainerImage(ContainerImage value)
public Environment.Builder setContainerImage(ContainerImage value)
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1beta1.ContainerImage container_image = 7;
Name | Description |
value | ContainerImage |
Type | Description |
Environment.Builder |
setContainerImage(ContainerImage.Builder builderForValue)
public Environment.Builder setContainerImage(ContainerImage.Builder builderForValue)
Use a container image to start the notebook instance.
.google.cloud.notebooks.v1beta1.ContainerImage container_image = 7;
Name | Description |
builderForValue | ContainerImage.Builder |
Type | Description |
Environment.Builder |
setCreateTime(Timestamp value)
public Environment.Builder setCreateTime(Timestamp value)
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
Environment.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Environment.Builder setCreateTime(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];
Name | Description |
builderForValue | Builder |
Type | Description |
Environment.Builder |
setDescription(String value)
public Environment.Builder setDescription(String value)
A brief description of this environment.
string description = 3;
Name | Description |
value | String The description to set. |
Type | Description |
Environment.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public Environment.Builder setDescriptionBytes(ByteString value)
A brief description of this environment.
string description = 3;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
Environment.Builder | This builder for chaining. |
setDisplayName(String value)
public Environment.Builder setDisplayName(String value)
Display name of this environment for the UI.
string display_name = 2;
Name | Description |
value | String The displayName to set. |
Type | Description |
Environment.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Environment.Builder setDisplayNameBytes(ByteString value)
Display name of this environment for the UI.
string display_name = 2;
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
Environment.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Environment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Environment.Builder |
setName(String value)
public 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];
Name | Description |
value | String The name to set. |
Type | Description |
Environment.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Environment.Builder setNameBytes(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];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Environment.Builder | This builder for chaining. |
setPostStartupScript(String value)
public 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;
Name | Description |
value | String The postStartupScript to set. |
Type | Description |
Environment.Builder | This builder for chaining. |
setPostStartupScriptBytes(ByteString value)
public Environment.Builder setPostStartupScriptBytes(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;
Name | Description |
value | ByteString The bytes for postStartupScript to set. |
Type | Description |
Environment.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Environment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Environment.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Environment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Environment.Builder |
setVmImage(VmImage value)
public Environment.Builder setVmImage(VmImage value)
Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v1beta1.VmImage vm_image = 6;
Name | Description |
value | VmImage |
Type | Description |
Environment.Builder |
setVmImage(VmImage.Builder builderForValue)
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;
Name | Description |
builderForValue | VmImage.Builder |
Type | Description |
Environment.Builder |