- 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 GceSetup.Builder extends GeneratedMessageV3.Builder<GceSetup.Builder> implements GceSetupOrBuilder
The definition of how to configure a VM instance outside of Resources and Identity.
Protobuf type google.cloud.notebooks.v2.GceSetup
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GceSetup.BuilderImplements
GceSetupOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAcceleratorConfigs(AcceleratorConfig value)
public GceSetup.Builder addAcceleratorConfigs(AcceleratorConfig value)
Optional. The hardware accelerators used on this instance. If you use
accelerators, make sure that your configuration has
enough vCPUs and memory to support the machine_type
you have
selected.
Currently supports only one accelerator configuration.
repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | AcceleratorConfig |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
addAcceleratorConfigs(AcceleratorConfig.Builder builderForValue)
public GceSetup.Builder addAcceleratorConfigs(AcceleratorConfig.Builder builderForValue)
Optional. The hardware accelerators used on this instance. If you use
accelerators, make sure that your configuration has
enough vCPUs and memory to support the machine_type
you have
selected.
Currently supports only one accelerator configuration.
repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue | AcceleratorConfig.Builder |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
addAcceleratorConfigs(int index, AcceleratorConfig value)
public GceSetup.Builder addAcceleratorConfigs(int index, AcceleratorConfig value)
Optional. The hardware accelerators used on this instance. If you use
accelerators, make sure that your configuration has
enough vCPUs and memory to support the machine_type
you have
selected.
Currently supports only one accelerator configuration.
repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index | int |
value | AcceleratorConfig |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
addAcceleratorConfigs(int index, AcceleratorConfig.Builder builderForValue)
public GceSetup.Builder addAcceleratorConfigs(int index, AcceleratorConfig.Builder builderForValue)
Optional. The hardware accelerators used on this instance. If you use
accelerators, make sure that your configuration has
enough vCPUs and memory to support the machine_type
you have
selected.
Currently supports only one accelerator configuration.
repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | AcceleratorConfig.Builder |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
addAcceleratorConfigsBuilder()
public AcceleratorConfig.Builder addAcceleratorConfigsBuilder()
Optional. The hardware accelerators used on this instance. If you use
accelerators, make sure that your configuration has
enough vCPUs and memory to support the machine_type
you have
selected.
Currently supports only one accelerator configuration.
repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AcceleratorConfig.Builder |
addAcceleratorConfigsBuilder(int index)
public AcceleratorConfig.Builder addAcceleratorConfigsBuilder(int index)
Optional. The hardware accelerators used on this instance. If you use
accelerators, make sure that your configuration has
enough vCPUs and memory to support the machine_type
you have
selected.
Currently supports only one accelerator configuration.
repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
AcceleratorConfig.Builder |
addAllAcceleratorConfigs(Iterable<? extends AcceleratorConfig> values)
public GceSetup.Builder addAllAcceleratorConfigs(Iterable<? extends AcceleratorConfig> values)
Optional. The hardware accelerators used on this instance. If you use
accelerators, make sure that your configuration has
enough vCPUs and memory to support the machine_type
you have
selected.
Currently supports only one accelerator configuration.
repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.notebooks.v2.AcceleratorConfig> |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
addAllDataDisks(Iterable<? extends DataDisk> values)
public GceSetup.Builder addAllDataDisks(Iterable<? extends DataDisk> values)
Optional. Data disks attached to the VM instance. Currently supports only one data disk.
repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.notebooks.v2.DataDisk> |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
addAllNetworkInterfaces(Iterable<? extends NetworkInterface> values)
public GceSetup.Builder addAllNetworkInterfaces(Iterable<? extends NetworkInterface> values)
Optional. The network interfaces for the VM. Supports only one interface.
repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.notebooks.v2.NetworkInterface> |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
addAllServiceAccounts(Iterable<? extends ServiceAccount> values)
public GceSetup.Builder addAllServiceAccounts(Iterable<? extends ServiceAccount> values)
Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.notebooks.v2.ServiceAccount> |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
addAllTags(Iterable<String> values)
public GceSetup.Builder addAllTags(Iterable<String> values)
Optional. The Compute Engine tags to add to runtime (see Tagging instances).
repeated string tags = 11 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The tags to add. |
Returns | |
---|---|
Type | Description |
GceSetup.Builder | This builder for chaining. |
addDataDisks(DataDisk value)
public GceSetup.Builder addDataDisks(DataDisk value)
Optional. Data disks attached to the VM instance. Currently supports only one data disk.
repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | DataDisk |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
addDataDisks(DataDisk.Builder builderForValue)
public GceSetup.Builder addDataDisks(DataDisk.Builder builderForValue)
Optional. Data disks attached to the VM instance. Currently supports only one data disk.
repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue | DataDisk.Builder |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
addDataDisks(int index, DataDisk value)
public GceSetup.Builder addDataDisks(int index, DataDisk value)
Optional. Data disks attached to the VM instance. Currently supports only one data disk.
repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index | int |
value | DataDisk |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
addDataDisks(int index, DataDisk.Builder builderForValue)
public GceSetup.Builder addDataDisks(int index, DataDisk.Builder builderForValue)
Optional. Data disks attached to the VM instance. Currently supports only one data disk.
repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | DataDisk.Builder |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
addDataDisksBuilder()
public DataDisk.Builder addDataDisksBuilder()
Optional. Data disks attached to the VM instance. Currently supports only one data disk.
repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DataDisk.Builder |
addDataDisksBuilder(int index)
public DataDisk.Builder addDataDisksBuilder(int index)
Optional. Data disks attached to the VM instance. Currently supports only one data disk.
repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
DataDisk.Builder |
addNetworkInterfaces(NetworkInterface value)
public GceSetup.Builder addNetworkInterfaces(NetworkInterface value)
Optional. The network interfaces for the VM. Supports only one interface.
repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | NetworkInterface |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
addNetworkInterfaces(NetworkInterface.Builder builderForValue)
public GceSetup.Builder addNetworkInterfaces(NetworkInterface.Builder builderForValue)
Optional. The network interfaces for the VM. Supports only one interface.
repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue | NetworkInterface.Builder |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
addNetworkInterfaces(int index, NetworkInterface value)
public GceSetup.Builder addNetworkInterfaces(int index, NetworkInterface value)
Optional. The network interfaces for the VM. Supports only one interface.
repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index | int |
value | NetworkInterface |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
addNetworkInterfaces(int index, NetworkInterface.Builder builderForValue)
public GceSetup.Builder addNetworkInterfaces(int index, NetworkInterface.Builder builderForValue)
Optional. The network interfaces for the VM. Supports only one interface.
repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | NetworkInterface.Builder |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
addNetworkInterfacesBuilder()
public NetworkInterface.Builder addNetworkInterfacesBuilder()
Optional. The network interfaces for the VM. Supports only one interface.
repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
NetworkInterface.Builder |
addNetworkInterfacesBuilder(int index)
public NetworkInterface.Builder addNetworkInterfacesBuilder(int index)
Optional. The network interfaces for the VM. Supports only one interface.
repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
NetworkInterface.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GceSetup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
addServiceAccounts(ServiceAccount value)
public GceSetup.Builder addServiceAccounts(ServiceAccount value)
Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ServiceAccount |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
addServiceAccounts(ServiceAccount.Builder builderForValue)
public GceSetup.Builder addServiceAccounts(ServiceAccount.Builder builderForValue)
Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue | ServiceAccount.Builder |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
addServiceAccounts(int index, ServiceAccount value)
public GceSetup.Builder addServiceAccounts(int index, ServiceAccount value)
Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index | int |
value | ServiceAccount |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
addServiceAccounts(int index, ServiceAccount.Builder builderForValue)
public GceSetup.Builder addServiceAccounts(int index, ServiceAccount.Builder builderForValue)
Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | ServiceAccount.Builder |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
addServiceAccountsBuilder()
public ServiceAccount.Builder addServiceAccountsBuilder()
Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ServiceAccount.Builder |
addServiceAccountsBuilder(int index)
public ServiceAccount.Builder addServiceAccountsBuilder(int index)
Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ServiceAccount.Builder |
addTags(String value)
public GceSetup.Builder addTags(String value)
Optional. The Compute Engine tags to add to runtime (see Tagging instances).
repeated string tags = 11 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | String The tags to add. |
Returns | |
---|---|
Type | Description |
GceSetup.Builder | This builder for chaining. |
addTagsBytes(ByteString value)
public GceSetup.Builder addTagsBytes(ByteString value)
Optional. The Compute Engine tags to add to runtime (see Tagging instances).
repeated string tags = 11 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the tags to add. |
Returns | |
---|---|
Type | Description |
GceSetup.Builder | This builder for chaining. |
build()
public GceSetup build()
Returns | |
---|---|
Type | Description |
GceSetup |
buildPartial()
public GceSetup buildPartial()
Returns | |
---|---|
Type | Description |
GceSetup |
clear()
public GceSetup.Builder clear()
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
clearAcceleratorConfigs()
public GceSetup.Builder clearAcceleratorConfigs()
Optional. The hardware accelerators used on this instance. If you use
accelerators, make sure that your configuration has
enough vCPUs and memory to support the machine_type
you have
selected.
Currently supports only one accelerator configuration.
repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
clearBootDisk()
public GceSetup.Builder clearBootDisk()
Optional. The boot disk for the VM.
.google.cloud.notebooks.v2.BootDisk boot_disk = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
clearContainerImage()
public GceSetup.Builder clearContainerImage()
Optional. Use a container image to start the notebook instance.
.google.cloud.notebooks.v2.ContainerImage container_image = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
clearDataDisks()
public GceSetup.Builder clearDataDisks()
Optional. Data disks attached to the VM instance. Currently supports only one data disk.
repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
clearDisablePublicIp()
public GceSetup.Builder clearDisablePublicIp()
Optional. If true, no external IP will be assigned to this VM instance.
bool disable_public_ip = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GceSetup.Builder | This builder for chaining. |
clearEnableIpForwarding()
public GceSetup.Builder clearEnableIpForwarding()
Optional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforward
bool enable_ip_forwarding = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GceSetup.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public GceSetup.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
clearGpuDriverConfig()
public GceSetup.Builder clearGpuDriverConfig()
Optional. Configuration for GPU drivers.
.google.cloud.notebooks.v2.GPUDriverConfig gpu_driver_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
clearImage()
public GceSetup.Builder clearImage()
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
clearMachineType()
public GceSetup.Builder clearMachineType()
Optional. The machine type of the VM instance. https://cloud.google.com/compute/docs/machine-resource
string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GceSetup.Builder | This builder for chaining. |
clearMetadata()
public GceSetup.Builder clearMetadata()
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
clearNetworkInterfaces()
public GceSetup.Builder clearNetworkInterfaces()
Optional. The network interfaces for the VM. Supports only one interface.
repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public GceSetup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
clearServiceAccounts()
public GceSetup.Builder clearServiceAccounts()
Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
clearShieldedInstanceConfig()
public GceSetup.Builder clearShieldedInstanceConfig()
Optional. Shielded VM configuration. Images using supported Shielded VM features.
.google.cloud.notebooks.v2.ShieldedInstanceConfig shielded_instance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
clearTags()
public GceSetup.Builder clearTags()
Optional. The Compute Engine tags to add to runtime (see Tagging instances).
repeated string tags = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GceSetup.Builder | This builder for chaining. |
clearVmImage()
public GceSetup.Builder clearVmImage()
Optional. Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v2.VmImage vm_image = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
clone()
public GceSetup.Builder clone()
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
containsMetadata(String key)
public boolean containsMetadata(String key)
Optional. Custom metadata to apply to this instance.
map<string, string> metadata = 12 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getAcceleratorConfigs(int index)
public AcceleratorConfig getAcceleratorConfigs(int index)
Optional. The hardware accelerators used on this instance. If you use
accelerators, make sure that your configuration has
enough vCPUs and memory to support the machine_type
you have
selected.
Currently supports only one accelerator configuration.
repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
AcceleratorConfig |
getAcceleratorConfigsBuilder(int index)
public AcceleratorConfig.Builder getAcceleratorConfigsBuilder(int index)
Optional. The hardware accelerators used on this instance. If you use
accelerators, make sure that your configuration has
enough vCPUs and memory to support the machine_type
you have
selected.
Currently supports only one accelerator configuration.
repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
AcceleratorConfig.Builder |
getAcceleratorConfigsBuilderList()
public List<AcceleratorConfig.Builder> getAcceleratorConfigsBuilderList()
Optional. The hardware accelerators used on this instance. If you use
accelerators, make sure that your configuration has
enough vCPUs and memory to support the machine_type
you have
selected.
Currently supports only one accelerator configuration.
repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Builder> |
getAcceleratorConfigsCount()
public int getAcceleratorConfigsCount()
Optional. The hardware accelerators used on this instance. If you use
accelerators, make sure that your configuration has
enough vCPUs and memory to support the machine_type
you have
selected.
Currently supports only one accelerator configuration.
repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getAcceleratorConfigsList()
public List<AcceleratorConfig> getAcceleratorConfigsList()
Optional. The hardware accelerators used on this instance. If you use
accelerators, make sure that your configuration has
enough vCPUs and memory to support the machine_type
you have
selected.
Currently supports only one accelerator configuration.
repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<AcceleratorConfig> |
getAcceleratorConfigsOrBuilder(int index)
public AcceleratorConfigOrBuilder getAcceleratorConfigsOrBuilder(int index)
Optional. The hardware accelerators used on this instance. If you use
accelerators, make sure that your configuration has
enough vCPUs and memory to support the machine_type
you have
selected.
Currently supports only one accelerator configuration.
repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
AcceleratorConfigOrBuilder |
getAcceleratorConfigsOrBuilderList()
public List<? extends AcceleratorConfigOrBuilder> getAcceleratorConfigsOrBuilderList()
Optional. The hardware accelerators used on this instance. If you use
accelerators, make sure that your configuration has
enough vCPUs and memory to support the machine_type
you have
selected.
Currently supports only one accelerator configuration.
repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.notebooks.v2.AcceleratorConfigOrBuilder> |
getBootDisk()
public BootDisk getBootDisk()
Optional. The boot disk for the VM.
.google.cloud.notebooks.v2.BootDisk boot_disk = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
BootDisk | The bootDisk. |
getBootDiskBuilder()
public BootDisk.Builder getBootDiskBuilder()
Optional. The boot disk for the VM.
.google.cloud.notebooks.v2.BootDisk boot_disk = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
BootDisk.Builder |
getBootDiskOrBuilder()
public BootDiskOrBuilder getBootDiskOrBuilder()
Optional. The boot disk for the VM.
.google.cloud.notebooks.v2.BootDisk boot_disk = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
BootDiskOrBuilder |
getContainerImage()
public ContainerImage getContainerImage()
Optional. Use a container image to start the notebook instance.
.google.cloud.notebooks.v2.ContainerImage container_image = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ContainerImage | The containerImage. |
getContainerImageBuilder()
public ContainerImage.Builder getContainerImageBuilder()
Optional. Use a container image to start the notebook instance.
.google.cloud.notebooks.v2.ContainerImage container_image = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ContainerImage.Builder |
getContainerImageOrBuilder()
public ContainerImageOrBuilder getContainerImageOrBuilder()
Optional. Use a container image to start the notebook instance.
.google.cloud.notebooks.v2.ContainerImage container_image = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ContainerImageOrBuilder |
getDataDisks(int index)
public DataDisk getDataDisks(int index)
Optional. Data disks attached to the VM instance. Currently supports only one data disk.
repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
DataDisk |
getDataDisksBuilder(int index)
public DataDisk.Builder getDataDisksBuilder(int index)
Optional. Data disks attached to the VM instance. Currently supports only one data disk.
repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
DataDisk.Builder |
getDataDisksBuilderList()
public List<DataDisk.Builder> getDataDisksBuilderList()
Optional. Data disks attached to the VM instance. Currently supports only one data disk.
repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Builder> |
getDataDisksCount()
public int getDataDisksCount()
Optional. Data disks attached to the VM instance. Currently supports only one data disk.
repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getDataDisksList()
public List<DataDisk> getDataDisksList()
Optional. Data disks attached to the VM instance. Currently supports only one data disk.
repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<DataDisk> |
getDataDisksOrBuilder(int index)
public DataDiskOrBuilder getDataDisksOrBuilder(int index)
Optional. Data disks attached to the VM instance. Currently supports only one data disk.
repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
DataDiskOrBuilder |
getDataDisksOrBuilderList()
public List<? extends DataDiskOrBuilder> getDataDisksOrBuilderList()
Optional. Data disks attached to the VM instance. Currently supports only one data disk.
repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.notebooks.v2.DataDiskOrBuilder> |
getDefaultInstanceForType()
public GceSetup getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GceSetup |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisablePublicIp()
public boolean getDisablePublicIp()
Optional. If true, no external IP will be assigned to this VM instance.
bool disable_public_ip = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | The disablePublicIp. |
getEnableIpForwarding()
public boolean getEnableIpForwarding()
Optional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforward
bool enable_ip_forwarding = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | The enableIpForwarding. |
getGpuDriverConfig()
public GPUDriverConfig getGpuDriverConfig()
Optional. Configuration for GPU drivers.
.google.cloud.notebooks.v2.GPUDriverConfig gpu_driver_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GPUDriverConfig | The gpuDriverConfig. |
getGpuDriverConfigBuilder()
public GPUDriverConfig.Builder getGpuDriverConfigBuilder()
Optional. Configuration for GPU drivers.
.google.cloud.notebooks.v2.GPUDriverConfig gpu_driver_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GPUDriverConfig.Builder |
getGpuDriverConfigOrBuilder()
public GPUDriverConfigOrBuilder getGpuDriverConfigOrBuilder()
Optional. Configuration for GPU drivers.
.google.cloud.notebooks.v2.GPUDriverConfig gpu_driver_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GPUDriverConfigOrBuilder |
getImageCase()
public GceSetup.ImageCase getImageCase()
Returns | |
---|---|
Type | Description |
GceSetup.ImageCase |
getMachineType()
public String getMachineType()
Optional. The machine type of the VM instance. https://cloud.google.com/compute/docs/machine-resource
string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String | The machineType. |
getMachineTypeBytes()
public ByteString getMachineTypeBytes()
Optional. The machine type of the VM instance. https://cloud.google.com/compute/docs/machine-resource
string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for machineType. |
getMetadata() (deprecated)
public Map<String,String> getMetadata()
Use #getMetadataMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getMetadataCount()
public int getMetadataCount()
Optional. Custom metadata to apply to this instance.
map<string, string> metadata = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getMetadataMap()
public Map<String,String> getMetadataMap()
Optional. Custom metadata to apply to this instance.
map<string, string> metadata = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Map<String,String> |
getMetadataOrDefault(String key, String defaultValue)
public String getMetadataOrDefault(String key, String defaultValue)
Optional. Custom metadata to apply to this instance.
map<string, string> metadata = 12 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getMetadataOrThrow(String key)
public String getMetadataOrThrow(String key)
Optional. Custom metadata to apply to this instance.
map<string, string> metadata = 12 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getMutableMetadata() (deprecated)
public Map<String,String> getMutableMetadata()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getNetworkInterfaces(int index)
public NetworkInterface getNetworkInterfaces(int index)
Optional. The network interfaces for the VM. Supports only one interface.
repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
NetworkInterface |
getNetworkInterfacesBuilder(int index)
public NetworkInterface.Builder getNetworkInterfacesBuilder(int index)
Optional. The network interfaces for the VM. Supports only one interface.
repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
NetworkInterface.Builder |
getNetworkInterfacesBuilderList()
public List<NetworkInterface.Builder> getNetworkInterfacesBuilderList()
Optional. The network interfaces for the VM. Supports only one interface.
repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Builder> |
getNetworkInterfacesCount()
public int getNetworkInterfacesCount()
Optional. The network interfaces for the VM. Supports only one interface.
repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getNetworkInterfacesList()
public List<NetworkInterface> getNetworkInterfacesList()
Optional. The network interfaces for the VM. Supports only one interface.
repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<NetworkInterface> |
getNetworkInterfacesOrBuilder(int index)
public NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index)
Optional. The network interfaces for the VM. Supports only one interface.
repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
NetworkInterfaceOrBuilder |
getNetworkInterfacesOrBuilderList()
public List<? extends NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()
Optional. The network interfaces for the VM. Supports only one interface.
repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.notebooks.v2.NetworkInterfaceOrBuilder> |
getServiceAccounts(int index)
public ServiceAccount getServiceAccounts(int index)
Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ServiceAccount |
getServiceAccountsBuilder(int index)
public ServiceAccount.Builder getServiceAccountsBuilder(int index)
Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ServiceAccount.Builder |
getServiceAccountsBuilderList()
public List<ServiceAccount.Builder> getServiceAccountsBuilderList()
Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Builder> |
getServiceAccountsCount()
public int getServiceAccountsCount()
Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getServiceAccountsList()
public List<ServiceAccount> getServiceAccountsList()
Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<ServiceAccount> |
getServiceAccountsOrBuilder(int index)
public ServiceAccountOrBuilder getServiceAccountsOrBuilder(int index)
Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ServiceAccountOrBuilder |
getServiceAccountsOrBuilderList()
public List<? extends ServiceAccountOrBuilder> getServiceAccountsOrBuilderList()
Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.notebooks.v2.ServiceAccountOrBuilder> |
getShieldedInstanceConfig()
public ShieldedInstanceConfig getShieldedInstanceConfig()
Optional. Shielded VM configuration. Images using supported Shielded VM features.
.google.cloud.notebooks.v2.ShieldedInstanceConfig shielded_instance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ShieldedInstanceConfig | The shieldedInstanceConfig. |
getShieldedInstanceConfigBuilder()
public ShieldedInstanceConfig.Builder getShieldedInstanceConfigBuilder()
Optional. Shielded VM configuration. Images using supported Shielded VM features.
.google.cloud.notebooks.v2.ShieldedInstanceConfig shielded_instance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ShieldedInstanceConfig.Builder |
getShieldedInstanceConfigOrBuilder()
public ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()
Optional. Shielded VM configuration. Images using supported Shielded VM features.
.google.cloud.notebooks.v2.ShieldedInstanceConfig shielded_instance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ShieldedInstanceConfigOrBuilder |
getTags(int index)
public String getTags(int index)
Optional. The Compute Engine tags to add to runtime (see Tagging instances).
repeated string tags = 11 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The tags at the given index. |
getTagsBytes(int index)
public ByteString getTagsBytes(int index)
Optional. The Compute Engine tags to add to runtime (see Tagging instances).
repeated string tags = 11 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the tags at the given index. |
getTagsCount()
public int getTagsCount()
Optional. The Compute Engine tags to add to runtime (see Tagging instances).
repeated string tags = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int | The count of tags. |
getTagsList()
public ProtocolStringList getTagsList()
Optional. The Compute Engine tags to add to runtime (see Tagging instances).
repeated string tags = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the tags. |
getVmImage()
public VmImage getVmImage()
Optional. Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v2.VmImage vm_image = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
VmImage | The vmImage. |
getVmImageBuilder()
public VmImage.Builder getVmImageBuilder()
Optional. Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v2.VmImage vm_image = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
VmImage.Builder |
getVmImageOrBuilder()
public VmImageOrBuilder getVmImageOrBuilder()
Optional. Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v2.VmImage vm_image = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
VmImageOrBuilder |
hasBootDisk()
public boolean hasBootDisk()
Optional. The boot disk for the VM.
.google.cloud.notebooks.v2.BootDisk boot_disk = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the bootDisk field is set. |
hasContainerImage()
public boolean hasContainerImage()
Optional. Use a container image to start the notebook instance.
.google.cloud.notebooks.v2.ContainerImage container_image = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the containerImage field is set. |
hasGpuDriverConfig()
public boolean hasGpuDriverConfig()
Optional. Configuration for GPU drivers.
.google.cloud.notebooks.v2.GPUDriverConfig gpu_driver_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the gpuDriverConfig field is set. |
hasShieldedInstanceConfig()
public boolean hasShieldedInstanceConfig()
Optional. Shielded VM configuration. Images using supported Shielded VM features.
.google.cloud.notebooks.v2.ShieldedInstanceConfig shielded_instance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the shieldedInstanceConfig field is set. |
hasVmImage()
public boolean hasVmImage()
Optional. Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v2.VmImage vm_image = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the vmImage field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeBootDisk(BootDisk value)
public GceSetup.Builder mergeBootDisk(BootDisk value)
Optional. The boot disk for the VM.
.google.cloud.notebooks.v2.BootDisk boot_disk = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | BootDisk |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
mergeContainerImage(ContainerImage value)
public GceSetup.Builder mergeContainerImage(ContainerImage value)
Optional. Use a container image to start the notebook instance.
.google.cloud.notebooks.v2.ContainerImage container_image = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ContainerImage |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
mergeFrom(GceSetup other)
public GceSetup.Builder mergeFrom(GceSetup other)
Parameter | |
---|---|
Name | Description |
other | GceSetup |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GceSetup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GceSetup.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
mergeGpuDriverConfig(GPUDriverConfig value)
public GceSetup.Builder mergeGpuDriverConfig(GPUDriverConfig value)
Optional. Configuration for GPU drivers.
.google.cloud.notebooks.v2.GPUDriverConfig gpu_driver_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | GPUDriverConfig |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
mergeShieldedInstanceConfig(ShieldedInstanceConfig value)
public GceSetup.Builder mergeShieldedInstanceConfig(ShieldedInstanceConfig value)
Optional. Shielded VM configuration. Images using supported Shielded VM features.
.google.cloud.notebooks.v2.ShieldedInstanceConfig shielded_instance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ShieldedInstanceConfig |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GceSetup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
mergeVmImage(VmImage value)
public GceSetup.Builder mergeVmImage(VmImage value)
Optional. Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v2.VmImage vm_image = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | VmImage |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
putAllMetadata(Map<String,String> values)
public GceSetup.Builder putAllMetadata(Map<String,String> values)
Optional. Custom metadata to apply to this instance.
map<string, string> metadata = 12 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
putMetadata(String key, String value)
public GceSetup.Builder putMetadata(String key, String value)
Optional. Custom metadata to apply to this instance.
map<string, string> metadata = 12 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
removeAcceleratorConfigs(int index)
public GceSetup.Builder removeAcceleratorConfigs(int index)
Optional. The hardware accelerators used on this instance. If you use
accelerators, make sure that your configuration has
enough vCPUs and memory to support the machine_type
you have
selected.
Currently supports only one accelerator configuration.
repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
removeDataDisks(int index)
public GceSetup.Builder removeDataDisks(int index)
Optional. Data disks attached to the VM instance. Currently supports only one data disk.
repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
removeMetadata(String key)
public GceSetup.Builder removeMetadata(String key)
Optional. Custom metadata to apply to this instance.
map<string, string> metadata = 12 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
removeNetworkInterfaces(int index)
public GceSetup.Builder removeNetworkInterfaces(int index)
Optional. The network interfaces for the VM. Supports only one interface.
repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
removeServiceAccounts(int index)
public GceSetup.Builder removeServiceAccounts(int index)
Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
setAcceleratorConfigs(int index, AcceleratorConfig value)
public GceSetup.Builder setAcceleratorConfigs(int index, AcceleratorConfig value)
Optional. The hardware accelerators used on this instance. If you use
accelerators, make sure that your configuration has
enough vCPUs and memory to support the machine_type
you have
selected.
Currently supports only one accelerator configuration.
repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index | int |
value | AcceleratorConfig |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
setAcceleratorConfigs(int index, AcceleratorConfig.Builder builderForValue)
public GceSetup.Builder setAcceleratorConfigs(int index, AcceleratorConfig.Builder builderForValue)
Optional. The hardware accelerators used on this instance. If you use
accelerators, make sure that your configuration has
enough vCPUs and memory to support the machine_type
you have
selected.
Currently supports only one accelerator configuration.
repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | AcceleratorConfig.Builder |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
setBootDisk(BootDisk value)
public GceSetup.Builder setBootDisk(BootDisk value)
Optional. The boot disk for the VM.
.google.cloud.notebooks.v2.BootDisk boot_disk = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | BootDisk |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
setBootDisk(BootDisk.Builder builderForValue)
public GceSetup.Builder setBootDisk(BootDisk.Builder builderForValue)
Optional. The boot disk for the VM.
.google.cloud.notebooks.v2.BootDisk boot_disk = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue | BootDisk.Builder |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
setContainerImage(ContainerImage value)
public GceSetup.Builder setContainerImage(ContainerImage value)
Optional. Use a container image to start the notebook instance.
.google.cloud.notebooks.v2.ContainerImage container_image = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ContainerImage |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
setContainerImage(ContainerImage.Builder builderForValue)
public GceSetup.Builder setContainerImage(ContainerImage.Builder builderForValue)
Optional. Use a container image to start the notebook instance.
.google.cloud.notebooks.v2.ContainerImage container_image = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue | ContainerImage.Builder |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
setDataDisks(int index, DataDisk value)
public GceSetup.Builder setDataDisks(int index, DataDisk value)
Optional. Data disks attached to the VM instance. Currently supports only one data disk.
repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index | int |
value | DataDisk |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
setDataDisks(int index, DataDisk.Builder builderForValue)
public GceSetup.Builder setDataDisks(int index, DataDisk.Builder builderForValue)
Optional. Data disks attached to the VM instance. Currently supports only one data disk.
repeated .google.cloud.notebooks.v2.DataDisk data_disks = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | DataDisk.Builder |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
setDisablePublicIp(boolean value)
public GceSetup.Builder setDisablePublicIp(boolean value)
Optional. If true, no external IP will be assigned to this VM instance.
bool disable_public_ip = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | boolean The disablePublicIp to set. |
Returns | |
---|---|
Type | Description |
GceSetup.Builder | This builder for chaining. |
setEnableIpForwarding(boolean value)
public GceSetup.Builder setEnableIpForwarding(boolean value)
Optional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforward
bool enable_ip_forwarding = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | boolean The enableIpForwarding to set. |
Returns | |
---|---|
Type | Description |
GceSetup.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public GceSetup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
setGpuDriverConfig(GPUDriverConfig value)
public GceSetup.Builder setGpuDriverConfig(GPUDriverConfig value)
Optional. Configuration for GPU drivers.
.google.cloud.notebooks.v2.GPUDriverConfig gpu_driver_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | GPUDriverConfig |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
setGpuDriverConfig(GPUDriverConfig.Builder builderForValue)
public GceSetup.Builder setGpuDriverConfig(GPUDriverConfig.Builder builderForValue)
Optional. Configuration for GPU drivers.
.google.cloud.notebooks.v2.GPUDriverConfig gpu_driver_config = 14 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue | GPUDriverConfig.Builder |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
setMachineType(String value)
public GceSetup.Builder setMachineType(String value)
Optional. The machine type of the VM instance. https://cloud.google.com/compute/docs/machine-resource
string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | String The machineType to set. |
Returns | |
---|---|
Type | Description |
GceSetup.Builder | This builder for chaining. |
setMachineTypeBytes(ByteString value)
public GceSetup.Builder setMachineTypeBytes(ByteString value)
Optional. The machine type of the VM instance. https://cloud.google.com/compute/docs/machine-resource
string machine_type = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for machineType to set. |
Returns | |
---|---|
Type | Description |
GceSetup.Builder | This builder for chaining. |
setNetworkInterfaces(int index, NetworkInterface value)
public GceSetup.Builder setNetworkInterfaces(int index, NetworkInterface value)
Optional. The network interfaces for the VM. Supports only one interface.
repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index | int |
value | NetworkInterface |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
setNetworkInterfaces(int index, NetworkInterface.Builder builderForValue)
public GceSetup.Builder setNetworkInterfaces(int index, NetworkInterface.Builder builderForValue)
Optional. The network interfaces for the VM. Supports only one interface.
repeated .google.cloud.notebooks.v2.NetworkInterface network_interfaces = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | NetworkInterface.Builder |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GceSetup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
setServiceAccounts(int index, ServiceAccount value)
public GceSetup.Builder setServiceAccounts(int index, ServiceAccount value)
Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index | int |
value | ServiceAccount |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
setServiceAccounts(int index, ServiceAccount.Builder builderForValue)
public GceSetup.Builder setServiceAccounts(int index, ServiceAccount.Builder builderForValue)
Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
repeated .google.cloud.notebooks.v2.ServiceAccount service_accounts = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | ServiceAccount.Builder |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
setShieldedInstanceConfig(ShieldedInstanceConfig value)
public GceSetup.Builder setShieldedInstanceConfig(ShieldedInstanceConfig value)
Optional. Shielded VM configuration. Images using supported Shielded VM features.
.google.cloud.notebooks.v2.ShieldedInstanceConfig shielded_instance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ShieldedInstanceConfig |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
setShieldedInstanceConfig(ShieldedInstanceConfig.Builder builderForValue)
public GceSetup.Builder setShieldedInstanceConfig(ShieldedInstanceConfig.Builder builderForValue)
Optional. Shielded VM configuration. Images using supported Shielded VM features.
.google.cloud.notebooks.v2.ShieldedInstanceConfig shielded_instance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue | ShieldedInstanceConfig.Builder |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
setTags(int index, String value)
public GceSetup.Builder setTags(int index, String value)
Optional. The Compute Engine tags to add to runtime (see Tagging instances).
repeated string tags = 11 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The tags to set. |
Returns | |
---|---|
Type | Description |
GceSetup.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final GceSetup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
setVmImage(VmImage value)
public GceSetup.Builder setVmImage(VmImage value)
Optional. Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v2.VmImage vm_image = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | VmImage |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |
setVmImage(VmImage.Builder builderForValue)
public GceSetup.Builder setVmImage(VmImage.Builder builderForValue)
Optional. Use a Compute Engine VM image to start the notebook instance.
.google.cloud.notebooks.v2.VmImage vm_image = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue | VmImage.Builder |
Returns | |
---|---|
Type | Description |
GceSetup.Builder |