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 classGceSetup.BuilderThe definition of how to configure a VM instance outside of Resources and Identity.static classGceSetup.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 intACCELERATOR_CONFIGS_FIELD_NUMBERstatic intBOOT_DISK_FIELD_NUMBERstatic intCONTAINER_IMAGE_FIELD_NUMBERstatic intDATA_DISKS_FIELD_NUMBERstatic intDISABLE_PUBLIC_IP_FIELD_NUMBERstatic intENABLE_IP_FORWARDING_FIELD_NUMBERstatic intGPU_DRIVER_CONFIG_FIELD_NUMBERstatic intMACHINE_TYPE_FIELD_NUMBERstatic intMETADATA_FIELD_NUMBERstatic intNETWORK_INTERFACES_FIELD_NUMBERstatic intSERVICE_ACCOUNTS_FIELD_NUMBERstatic intSHIELDED_INSTANCE_CONFIG_FIELD_NUMBERstatic intTAGS_FIELD_NUMBERstatic intVM_IMAGE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsMetadata(String key)Optional.booleanequals(Object obj)AcceleratorConfiggetAcceleratorConfigs(int index)Optional.intgetAcceleratorConfigsCount()Optional.List<AcceleratorConfig>getAcceleratorConfigsList()Optional.AcceleratorConfigOrBuildergetAcceleratorConfigsOrBuilder(int index)Optional.List<? extends AcceleratorConfigOrBuilder>getAcceleratorConfigsOrBuilderList()Optional.BootDiskgetBootDisk()Optional.BootDiskOrBuildergetBootDiskOrBuilder()Optional.ContainerImagegetContainerImage()Optional.ContainerImageOrBuildergetContainerImageOrBuilder()Optional.DataDiskgetDataDisks(int index)Optional.intgetDataDisksCount()Optional.List<DataDisk>getDataDisksList()Optional.DataDiskOrBuildergetDataDisksOrBuilder(int index)Optional.List<? extends DataDiskOrBuilder>getDataDisksOrBuilderList()Optional.static GceSetupgetDefaultInstance()GceSetupgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetDisablePublicIp()Optional.booleangetEnableIpForwarding()Optional.GPUDriverConfiggetGpuDriverConfig()Optional.GPUDriverConfigOrBuildergetGpuDriverConfigOrBuilder()Optional.GceSetup.ImageCasegetImageCase()StringgetMachineType()Optional.com.google.protobuf.ByteStringgetMachineTypeBytes()Optional.Map<String,String>getMetadata()Deprecated.intgetMetadataCount()Optional.Map<String,String>getMetadataMap()Optional.StringgetMetadataOrDefault(String key, String defaultValue)Optional.StringgetMetadataOrThrow(String key)Optional.NetworkInterfacegetNetworkInterfaces(int index)Optional.intgetNetworkInterfacesCount()Optional.List<NetworkInterface>getNetworkInterfacesList()Optional.NetworkInterfaceOrBuildergetNetworkInterfacesOrBuilder(int index)Optional.List<? extends NetworkInterfaceOrBuilder>getNetworkInterfacesOrBuilderList()Optional.com.google.protobuf.Parser<GceSetup>getParserForType()intgetSerializedSize()ServiceAccountgetServiceAccounts(int index)Optional.intgetServiceAccountsCount()Optional.List<ServiceAccount>getServiceAccountsList()Optional.ServiceAccountOrBuildergetServiceAccountsOrBuilder(int index)Optional.List<? extends ServiceAccountOrBuilder>getServiceAccountsOrBuilderList()Optional.ShieldedInstanceConfiggetShieldedInstanceConfig()Optional.ShieldedInstanceConfigOrBuildergetShieldedInstanceConfigOrBuilder()Optional.StringgetTags(int index)Optional.com.google.protobuf.ByteStringgetTagsBytes(int index)Optional.intgetTagsCount()Optional.com.google.protobuf.ProtocolStringListgetTagsList()Optional.VmImagegetVmImage()Optional.VmImageOrBuildergetVmImageOrBuilder()Optional.booleanhasBootDisk()Optional.booleanhasContainerImage()Optional.booleanhasGpuDriverConfig()Optional.inthashCode()booleanhasShieldedInstanceConfig()Optional.booleanhasVmImage()Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static GceSetup.BuildernewBuilder()static GceSetup.BuildernewBuilder(GceSetup prototype)GceSetup.BuildernewBuilderForType()protected GceSetup.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static GceSetupparseDelimitedFrom(InputStream input)static GceSetupparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GceSetupparseFrom(byte[] data)static GceSetupparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GceSetupparseFrom(com.google.protobuf.ByteString data)static GceSetupparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GceSetupparseFrom(com.google.protobuf.CodedInputStream input)static GceSetupparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GceSetupparseFrom(InputStream input)static GceSetupparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GceSetupparseFrom(ByteBuffer data)static GceSetupparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<GceSetup>parser()GceSetup.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getImageCase
public GceSetup.ImageCase getImageCase()
- Specified by:
getImageCasein 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:
getMachineTypein 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:
getMachineTypeBytesin 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:
getAcceleratorConfigsListin 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:
getAcceleratorConfigsOrBuilderListin 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:
getAcceleratorConfigsCountin 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:
getAcceleratorConfigsin 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:
getAcceleratorConfigsOrBuilderin 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:
getServiceAccountsListin 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:
getServiceAccountsOrBuilderListin 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:
getServiceAccountsCountin 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:
getServiceAccountsin 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:
getServiceAccountsOrBuilderin 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:
hasVmImagein 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:
getVmImagein 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:
getVmImageOrBuilderin 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:
hasContainerImagein 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:
getContainerImagein 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:
getContainerImageOrBuilderin 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:
hasBootDiskin 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:
getBootDiskin 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:
getBootDiskOrBuilderin 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:
getDataDisksListin 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:
getDataDisksOrBuilderListin 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:
getDataDisksCountin 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:
getDataDisksin 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:
getDataDisksOrBuilderin 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:
hasShieldedInstanceConfigin 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:
getShieldedInstanceConfigin 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:
getShieldedInstanceConfigOrBuilderin 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:
getNetworkInterfacesListin 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:
getNetworkInterfacesOrBuilderListin 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:
getNetworkInterfacesCountin 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:
getNetworkInterfacesin 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:
getNetworkInterfacesOrBuilderin 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:
getDisablePublicIpin 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:
getTagsListin 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:
getTagsCountin 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:
getTagsin 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:
getTagsBytesin 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:GceSetupOrBuilderOptional. Custom metadata to apply to this instance.
map<string, string> metadata = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMetadataCountin 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:
containsMetadatain interfaceGceSetupOrBuilder
-
getMetadata
@Deprecated public Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain 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:
getMetadataMapin 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:
getMetadataOrDefaultin 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:
getMetadataOrThrowin 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:
getEnableIpForwardingin 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:
hasGpuDriverConfigin 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:
getGpuDriverConfigin 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:
getGpuDriverConfigOrBuilderin interfaceGceSetupOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GceSetup.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GceSetup getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-