Package com.google.cloud.notebooks.v2
Class GceSetup
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.notebooks.v2.GceSetup
-
- All Implemented Interfaces:
GceSetupOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class GceSetup extends com.google.protobuf.GeneratedMessageV3 implements GceSetupOrBuilder
The definition of how to configure a VM instance outside of Resources and Identity.
Protobuf typegoogle.cloud.notebooks.v2.GceSetup
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GceSetup.Builder
The definition of how to configure a VM instance outside of Resources and Identity.static class
GceSetup.ImageCase
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACCELERATOR_CONFIGS_FIELD_NUMBER
static int
BOOT_DISK_FIELD_NUMBER
static int
CONTAINER_IMAGE_FIELD_NUMBER
static int
DATA_DISKS_FIELD_NUMBER
static int
DISABLE_PUBLIC_IP_FIELD_NUMBER
static int
ENABLE_IP_FORWARDING_FIELD_NUMBER
static int
GPU_DRIVER_CONFIG_FIELD_NUMBER
static int
MACHINE_TYPE_FIELD_NUMBER
static int
METADATA_FIELD_NUMBER
static int
NETWORK_INTERFACES_FIELD_NUMBER
static int
SERVICE_ACCOUNTS_FIELD_NUMBER
static int
SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER
static int
TAGS_FIELD_NUMBER
static int
VM_IMAGE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsMetadata(String key)
Optional.boolean
equals(Object obj)
AcceleratorConfig
getAcceleratorConfigs(int index)
Optional.int
getAcceleratorConfigsCount()
Optional.List<AcceleratorConfig>
getAcceleratorConfigsList()
Optional.AcceleratorConfigOrBuilder
getAcceleratorConfigsOrBuilder(int index)
Optional.List<? extends AcceleratorConfigOrBuilder>
getAcceleratorConfigsOrBuilderList()
Optional.BootDisk
getBootDisk()
Optional.BootDiskOrBuilder
getBootDiskOrBuilder()
Optional.ContainerImage
getContainerImage()
Optional.ContainerImageOrBuilder
getContainerImageOrBuilder()
Optional.DataDisk
getDataDisks(int index)
Optional.int
getDataDisksCount()
Optional.List<DataDisk>
getDataDisksList()
Optional.DataDiskOrBuilder
getDataDisksOrBuilder(int index)
Optional.List<? extends DataDiskOrBuilder>
getDataDisksOrBuilderList()
Optional.static GceSetup
getDefaultInstance()
GceSetup
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
boolean
getDisablePublicIp()
Optional.boolean
getEnableIpForwarding()
Optional.GPUDriverConfig
getGpuDriverConfig()
Optional.GPUDriverConfigOrBuilder
getGpuDriverConfigOrBuilder()
Optional.GceSetup.ImageCase
getImageCase()
String
getMachineType()
Optional.com.google.protobuf.ByteString
getMachineTypeBytes()
Optional.Map<String,String>
getMetadata()
Deprecated.int
getMetadataCount()
Optional.Map<String,String>
getMetadataMap()
Optional.String
getMetadataOrDefault(String key, String defaultValue)
Optional.String
getMetadataOrThrow(String key)
Optional.NetworkInterface
getNetworkInterfaces(int index)
Optional.int
getNetworkInterfacesCount()
Optional.List<NetworkInterface>
getNetworkInterfacesList()
Optional.NetworkInterfaceOrBuilder
getNetworkInterfacesOrBuilder(int index)
Optional.List<? extends NetworkInterfaceOrBuilder>
getNetworkInterfacesOrBuilderList()
Optional.com.google.protobuf.Parser<GceSetup>
getParserForType()
int
getSerializedSize()
ServiceAccount
getServiceAccounts(int index)
Optional.int
getServiceAccountsCount()
Optional.List<ServiceAccount>
getServiceAccountsList()
Optional.ServiceAccountOrBuilder
getServiceAccountsOrBuilder(int index)
Optional.List<? extends ServiceAccountOrBuilder>
getServiceAccountsOrBuilderList()
Optional.ShieldedInstanceConfig
getShieldedInstanceConfig()
Optional.ShieldedInstanceConfigOrBuilder
getShieldedInstanceConfigOrBuilder()
Optional.String
getTags(int index)
Optional.com.google.protobuf.ByteString
getTagsBytes(int index)
Optional.int
getTagsCount()
Optional.com.google.protobuf.ProtocolStringList
getTagsList()
Optional.VmImage
getVmImage()
Optional.VmImageOrBuilder
getVmImageOrBuilder()
Optional.boolean
hasBootDisk()
Optional.boolean
hasContainerImage()
Optional.boolean
hasGpuDriverConfig()
Optional.int
hashCode()
boolean
hasShieldedInstanceConfig()
Optional.boolean
hasVmImage()
Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static GceSetup.Builder
newBuilder()
static GceSetup.Builder
newBuilder(GceSetup prototype)
GceSetup.Builder
newBuilderForType()
protected GceSetup.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static GceSetup
parseDelimitedFrom(InputStream input)
static GceSetup
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GceSetup
parseFrom(byte[] data)
static GceSetup
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GceSetup
parseFrom(com.google.protobuf.ByteString data)
static GceSetup
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GceSetup
parseFrom(com.google.protobuf.CodedInputStream input)
static GceSetup
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GceSetup
parseFrom(InputStream input)
static GceSetup
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static GceSetup
parseFrom(ByteBuffer data)
static GceSetup
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<GceSetup>
parser()
GceSetup.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
MACHINE_TYPE_FIELD_NUMBER
public static final int MACHINE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACCELERATOR_CONFIGS_FIELD_NUMBER
public static final int ACCELERATOR_CONFIGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_ACCOUNTS_FIELD_NUMBER
public static final int SERVICE_ACCOUNTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VM_IMAGE_FIELD_NUMBER
public static final int VM_IMAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTAINER_IMAGE_FIELD_NUMBER
public static final int CONTAINER_IMAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BOOT_DISK_FIELD_NUMBER
public static final int BOOT_DISK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_DISKS_FIELD_NUMBER
public static final int DATA_DISKS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER
public static final int SHIELDED_INSTANCE_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETWORK_INTERFACES_FIELD_NUMBER
public static final int NETWORK_INTERFACES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISABLE_PUBLIC_IP_FIELD_NUMBER
public static final int DISABLE_PUBLIC_IP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLE_IP_FORWARDING_FIELD_NUMBER
public static final int ENABLE_IP_FORWARDING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GPU_DRIVER_CONFIG_FIELD_NUMBER
public static final int GPU_DRIVER_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getImageCase
public GceSetup.ImageCase getImageCase()
- Specified by:
getImageCase
in interfaceGceSetupOrBuilder
-
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];
- Specified by:
getMachineType
in interfaceGceSetupOrBuilder
- Returns:
- The machineType.
-
getMachineTypeBytes
public com.google.protobuf.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];
- Specified by:
getMachineTypeBytes
in interfaceGceSetupOrBuilder
- Returns:
- The bytes for machineType.
-
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](https://cloud.google.com/compute/docs/gpus/#gpus-list). Currently supports only one accelerator configuration.
repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAcceleratorConfigsList
in interfaceGceSetupOrBuilder
-
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](https://cloud.google.com/compute/docs/gpus/#gpus-list). Currently supports only one accelerator configuration.
repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAcceleratorConfigsOrBuilderList
in interfaceGceSetupOrBuilder
-
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](https://cloud.google.com/compute/docs/gpus/#gpus-list). Currently supports only one accelerator configuration.
repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAcceleratorConfigsCount
in interfaceGceSetupOrBuilder
-
getAcceleratorConfigs
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](https://cloud.google.com/compute/docs/gpus/#gpus-list). Currently supports only one accelerator configuration.
repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAcceleratorConfigs
in interfaceGceSetupOrBuilder
-
getAcceleratorConfigsOrBuilder
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](https://cloud.google.com/compute/docs/gpus/#gpus-list). Currently supports only one accelerator configuration.
repeated .google.cloud.notebooks.v2.AcceleratorConfig accelerator_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAcceleratorConfigsOrBuilder
in interfaceGceSetupOrBuilder
-
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];
- Specified by:
getServiceAccountsList
in interfaceGceSetupOrBuilder
-
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];
- Specified by:
getServiceAccountsOrBuilderList
in interfaceGceSetupOrBuilder
-
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];
- Specified by:
getServiceAccountsCount
in interfaceGceSetupOrBuilder
-
getServiceAccounts
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];
- Specified by:
getServiceAccounts
in interfaceGceSetupOrBuilder
-
getServiceAccountsOrBuilder
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];
- Specified by:
getServiceAccountsOrBuilder
in interfaceGceSetupOrBuilder
-
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];
- Specified by:
hasVmImage
in interfaceGceSetupOrBuilder
- Returns:
- Whether the vmImage field is set.
-
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];
- Specified by:
getVmImage
in interfaceGceSetupOrBuilder
- Returns:
- The vmImage.
-
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];
- Specified by:
getVmImageOrBuilder
in interfaceGceSetupOrBuilder
-
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];
- Specified by:
hasContainerImage
in interfaceGceSetupOrBuilder
- Returns:
- Whether the containerImage field is set.
-
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];
- Specified by:
getContainerImage
in interfaceGceSetupOrBuilder
- Returns:
- The containerImage.
-
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];
- Specified by:
getContainerImageOrBuilder
in interfaceGceSetupOrBuilder
-
hasBootDisk
public boolean hasBootDisk()
Optional. The boot disk for the VM.
.google.cloud.notebooks.v2.BootDisk boot_disk = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasBootDisk
in interfaceGceSetupOrBuilder
- Returns:
- Whether the bootDisk field is set.
-
getBootDisk
public BootDisk getBootDisk()
Optional. The boot disk for the VM.
.google.cloud.notebooks.v2.BootDisk boot_disk = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getBootDisk
in interfaceGceSetupOrBuilder
- Returns:
- The bootDisk.
-
getBootDiskOrBuilder
public BootDiskOrBuilder getBootDiskOrBuilder()
Optional. The boot disk for the VM.
.google.cloud.notebooks.v2.BootDisk boot_disk = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getBootDiskOrBuilder
in interfaceGceSetupOrBuilder
-
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];
- Specified by:
getDataDisksList
in interfaceGceSetupOrBuilder
-
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];
- Specified by:
getDataDisksOrBuilderList
in interfaceGceSetupOrBuilder
-
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];
- Specified by:
getDataDisksCount
in interfaceGceSetupOrBuilder
-
getDataDisks
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];
- Specified by:
getDataDisks
in interfaceGceSetupOrBuilder
-
getDataDisksOrBuilder
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];
- Specified by:
getDataDisksOrBuilder
in interfaceGceSetupOrBuilder
-
hasShieldedInstanceConfig
public boolean hasShieldedInstanceConfig()
Optional. Shielded VM configuration. [Images using supported Shielded VM features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm).
.google.cloud.notebooks.v2.ShieldedInstanceConfig shielded_instance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasShieldedInstanceConfig
in interfaceGceSetupOrBuilder
- Returns:
- Whether the shieldedInstanceConfig field is set.
-
getShieldedInstanceConfig
public ShieldedInstanceConfig getShieldedInstanceConfig()
Optional. Shielded VM configuration. [Images using supported Shielded VM features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm).
.google.cloud.notebooks.v2.ShieldedInstanceConfig shielded_instance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getShieldedInstanceConfig
in interfaceGceSetupOrBuilder
- Returns:
- The shieldedInstanceConfig.
-
getShieldedInstanceConfigOrBuilder
public ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()
Optional. Shielded VM configuration. [Images using supported Shielded VM features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm).
.google.cloud.notebooks.v2.ShieldedInstanceConfig shielded_instance_config = 8 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getShieldedInstanceConfigOrBuilder
in interfaceGceSetupOrBuilder
-
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];
- Specified by:
getNetworkInterfacesList
in interfaceGceSetupOrBuilder
-
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];
- Specified by:
getNetworkInterfacesOrBuilderList
in interfaceGceSetupOrBuilder
-
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];
- Specified by:
getNetworkInterfacesCount
in interfaceGceSetupOrBuilder
-
getNetworkInterfaces
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];
- Specified by:
getNetworkInterfaces
in interfaceGceSetupOrBuilder
-
getNetworkInterfacesOrBuilder
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];
- Specified by:
getNetworkInterfacesOrBuilder
in interfaceGceSetupOrBuilder
-
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];
- Specified by:
getDisablePublicIp
in interfaceGceSetupOrBuilder
- Returns:
- The disablePublicIp.
-
getTagsList
public com.google.protobuf.ProtocolStringList getTagsList()
Optional. The Compute Engine tags to add to runtime (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTagsList
in interfaceGceSetupOrBuilder
- Returns:
- A list containing the tags.
-
getTagsCount
public int getTagsCount()
Optional. The Compute Engine tags to add to runtime (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTagsCount
in interfaceGceSetupOrBuilder
- Returns:
- The count of tags.
-
getTags
public String getTags(int index)
Optional. The Compute Engine tags to add to runtime (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTags
in interfaceGceSetupOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
public com.google.protobuf.ByteString getTagsBytes(int index)
Optional. The Compute Engine tags to add to runtime (see [Tagging instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)).
repeated string tags = 11 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getTagsBytes
in interfaceGceSetupOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
getMetadataCount
public int getMetadataCount()
Description copied from interface:GceSetupOrBuilder
Optional. Custom metadata to apply to this instance.
map<string, string> metadata = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getMetadataCount
in interfaceGceSetupOrBuilder
-
containsMetadata
public boolean containsMetadata(String key)
Optional. Custom metadata to apply to this instance.
map<string, string> metadata = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
containsMetadata
in interfaceGceSetupOrBuilder
-
getMetadata
@Deprecated public Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()
instead.- Specified by:
getMetadata
in interfaceGceSetupOrBuilder
-
getMetadataMap
public Map<String,String> getMetadataMap()
Optional. Custom metadata to apply to this instance.
map<string, string> metadata = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getMetadataMap
in interfaceGceSetupOrBuilder
-
getMetadataOrDefault
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];
- Specified by:
getMetadataOrDefault
in interfaceGceSetupOrBuilder
-
getMetadataOrThrow
public String getMetadataOrThrow(String key)
Optional. Custom metadata to apply to this instance.
map<string, string> metadata = 12 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getMetadataOrThrow
in interfaceGceSetupOrBuilder
-
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];
- Specified by:
getEnableIpForwarding
in interfaceGceSetupOrBuilder
- Returns:
- The enableIpForwarding.
-
hasGpuDriverConfig
public boolean hasGpuDriverConfig()
Optional. Configuration for GPU drivers.
.google.cloud.notebooks.v2.GPUDriverConfig gpu_driver_config = 14 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasGpuDriverConfig
in interfaceGceSetupOrBuilder
- Returns:
- Whether the gpuDriverConfig field is set.
-
getGpuDriverConfig
public GPUDriverConfig getGpuDriverConfig()
Optional. Configuration for GPU drivers.
.google.cloud.notebooks.v2.GPUDriverConfig gpu_driver_config = 14 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getGpuDriverConfig
in interfaceGceSetupOrBuilder
- Returns:
- The gpuDriverConfig.
-
getGpuDriverConfigOrBuilder
public GPUDriverConfigOrBuilder getGpuDriverConfigOrBuilder()
Optional. Configuration for GPU drivers.
.google.cloud.notebooks.v2.GPUDriverConfig gpu_driver_config = 14 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getGpuDriverConfigOrBuilder
in interfaceGceSetupOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GceSetup parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GceSetup parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GceSetup parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GceSetup parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GceSetup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GceSetup parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GceSetup parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GceSetup parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GceSetup parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GceSetup parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static GceSetup parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GceSetup parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public GceSetup.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static GceSetup.Builder newBuilder()
-
newBuilder
public static GceSetup.Builder newBuilder(GceSetup prototype)
-
toBuilder
public GceSetup.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GceSetup.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static GceSetup getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<GceSetup> parser()
-
getParserForType
public com.google.protobuf.Parser<GceSetup> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GceSetup getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-