Class Compute.CreateInstanceRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
namespace.cloud.compute.v1beta.Compute.CreateInstanceRequest
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Compute.CreateInstanceRequestOrBuilder
Enclosing class:
Compute

public static final class Compute.CreateInstanceRequest extends com.google.protobuf.GeneratedMessage implements Compute.CreateInstanceRequestOrBuilder
Protobuf type namespace.cloud.compute.v1beta.CreateInstanceRequest
See Also:
  • Field Details

    • SHAPE_FIELD_NUMBER

      public static final int SHAPE_FIELD_NUMBER
      See Also:
    • FEATURES_FIELD_NUMBER

      public static final int FEATURES_FIELD_NUMBER
      See Also:
    • FEATURE_CONFIGURATION_FIELD_NUMBER

      public static final int FEATURE_CONFIGURATION_FIELD_NUMBER
      See Also:
    • DOCUMENTED_PURPOSE_FIELD_NUMBER

      public static final int DOCUMENTED_PURPOSE_FIELD_NUMBER
      See Also:
    • LABELS_FIELD_NUMBER

      public static final int LABELS_FIELD_NUMBER
      See Also:
    • DEADLINE_FIELD_NUMBER

      public static final int DEADLINE_FIELD_NUMBER
      See Also:
    • INTERACTIVE_FIELD_NUMBER

      public static final int INTERACTIVE_FIELD_NUMBER
      See Also:
    • REGION_FIELD_NUMBER

      public static final int REGION_FIELD_NUMBER
      See Also:
    • PLACEMENT_FIELD_NUMBER

      public static final int PLACEMENT_FIELD_NUMBER
      See Also:
    • CONTAINERS_FIELD_NUMBER

      public static final int CONTAINERS_FIELD_NUMBER
      See Also:
    • INGRESSES_FIELD_NUMBER

      public static final int INGRESSES_FIELD_NUMBER
      See Also:
    • INGRESS_BASE_DOMAIN_FIELD_NUMBER

      public static final int INGRESS_BASE_DOMAIN_FIELD_NUMBER
      See Also:
    • APPLICATIONS_FIELD_NUMBER

      public static final int APPLICATIONS_FIELD_NUMBER
      See Also:
    • EXPERIMENTAL_FIELD_NUMBER

      public static final int EXPERIMENTAL_FIELD_NUMBER
      See Also:
    • VOLUMES_FIELD_NUMBER

      public static final int VOLUMES_FIELD_NUMBER
      See Also:
    • CONTAINER_CACHE_FIELD_NUMBER

      public static final int CONTAINER_CACHE_FIELD_NUMBER
      See Also:
    • HTTP_EVENT_CALLBACK_FIELD_NUMBER

      public static final int HTTP_EVENT_CALLBACK_FIELD_NUMBER
      See Also:
    • ADDITIONAL_REGISTRIES_FIELD_NUMBER

      public static final int ADDITIONAL_REGISTRIES_FIELD_NUMBER
      See Also:
    • WORKLOAD_PERMISSIONS_FIELD_NUMBER

      public static final int WORKLOAD_PERMISSIONS_FIELD_NUMBER
      See Also:
    • NETWORK_POLICY_FIELD_NUMBER

      public static final int NETWORK_POLICY_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasShape

      public boolean hasShape()
       The shape of the instance to be created.
       
      .namespace.cloud.compute.v1beta.InstanceShape shape = 1;
      Specified by:
      hasShape in interface Compute.CreateInstanceRequestOrBuilder
      Returns:
      Whether the shape field is set.
    • getShape

      public Compute.InstanceShape getShape()
       The shape of the instance to be created.
       
      .namespace.cloud.compute.v1beta.InstanceShape shape = 1;
      Specified by:
      getShape in interface Compute.CreateInstanceRequestOrBuilder
      Returns:
      The shape.
    • getShapeOrBuilder

      public Compute.InstanceShapeOrBuilder getShapeOrBuilder()
       The shape of the instance to be created.
       
      .namespace.cloud.compute.v1beta.InstanceShape shape = 1;
      Specified by:
      getShapeOrBuilder in interface Compute.CreateInstanceRequestOrBuilder
    • getFeaturesList

      public List<Compute.CreateInstanceRequest.Feature> getFeaturesList()
       A list of features that should be enabled in this instance.
       Deprecated: use feature_configuration below instead.
       
      repeated .namespace.cloud.compute.v1beta.CreateInstanceRequest.Feature features = 3;
      Specified by:
      getFeaturesList in interface Compute.CreateInstanceRequestOrBuilder
      Returns:
      A list containing the features.
    • getFeaturesCount

      public int getFeaturesCount()
       A list of features that should be enabled in this instance.
       Deprecated: use feature_configuration below instead.
       
      repeated .namespace.cloud.compute.v1beta.CreateInstanceRequest.Feature features = 3;
      Specified by:
      getFeaturesCount in interface Compute.CreateInstanceRequestOrBuilder
      Returns:
      The count of features.
    • getFeatures

      public Compute.CreateInstanceRequest.Feature getFeatures(int index)
       A list of features that should be enabled in this instance.
       Deprecated: use feature_configuration below instead.
       
      repeated .namespace.cloud.compute.v1beta.CreateInstanceRequest.Feature features = 3;
      Specified by:
      getFeatures in interface Compute.CreateInstanceRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The features at the given index.
    • getFeaturesValueList

      public List<Integer> getFeaturesValueList()
       A list of features that should be enabled in this instance.
       Deprecated: use feature_configuration below instead.
       
      repeated .namespace.cloud.compute.v1beta.CreateInstanceRequest.Feature features = 3;
      Specified by:
      getFeaturesValueList in interface Compute.CreateInstanceRequestOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for features.
    • getFeaturesValue

      public int getFeaturesValue(int index)
       A list of features that should be enabled in this instance.
       Deprecated: use feature_configuration below instead.
       
      repeated .namespace.cloud.compute.v1beta.CreateInstanceRequest.Feature features = 3;
      Specified by:
      getFeaturesValue in interface Compute.CreateInstanceRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of features at the given index.
    • hasFeatureConfiguration

      public boolean hasFeatureConfiguration()
       A list of features that should be enabled in this instance.
       
      .namespace.cloud.compute.v1beta.CreateInstanceRequest.FeatureConfiguration feature_configuration = 11;
      Specified by:
      hasFeatureConfiguration in interface Compute.CreateInstanceRequestOrBuilder
      Returns:
      Whether the featureConfiguration field is set.
    • getFeatureConfiguration

      public Compute.CreateInstanceRequest.FeatureConfiguration getFeatureConfiguration()
       A list of features that should be enabled in this instance.
       
      .namespace.cloud.compute.v1beta.CreateInstanceRequest.FeatureConfiguration feature_configuration = 11;
      Specified by:
      getFeatureConfiguration in interface Compute.CreateInstanceRequestOrBuilder
      Returns:
      The featureConfiguration.
    • getFeatureConfigurationOrBuilder

      public Compute.CreateInstanceRequest.FeatureConfigurationOrBuilder getFeatureConfigurationOrBuilder()
       A list of features that should be enabled in this instance.
       
      .namespace.cloud.compute.v1beta.CreateInstanceRequest.FeatureConfiguration feature_configuration = 11;
      Specified by:
      getFeatureConfigurationOrBuilder in interface Compute.CreateInstanceRequestOrBuilder
    • getDocumentedPurpose

      public String getDocumentedPurpose()
       A human-facing description of the purpose of this instance. Used for
       debugging purposes.
       
      string documented_purpose = 4;
      Specified by:
      getDocumentedPurpose in interface Compute.CreateInstanceRequestOrBuilder
      Returns:
      The documentedPurpose.
    • getDocumentedPurposeBytes

      public com.google.protobuf.ByteString getDocumentedPurposeBytes()
       A human-facing description of the purpose of this instance. Used for
       debugging purposes.
       
      string documented_purpose = 4;
      Specified by:
      getDocumentedPurposeBytes in interface Compute.CreateInstanceRequestOrBuilder
      Returns:
      The bytes for documentedPurpose.
    • getLabelsList

      public List<Labels.Label> getLabelsList()
       A set of labels that are attached to the new instance. Instances can be
       queried based on labels, see also ListInstancesRequest.
       
      repeated .namespace.stdlib.Label labels = 5;
      Specified by:
      getLabelsList in interface Compute.CreateInstanceRequestOrBuilder
    • getLabelsOrBuilderList

      public List<? extends Labels.LabelOrBuilder> getLabelsOrBuilderList()
       A set of labels that are attached to the new instance. Instances can be
       queried based on labels, see also ListInstancesRequest.
       
      repeated .namespace.stdlib.Label labels = 5;
      Specified by:
      getLabelsOrBuilderList in interface Compute.CreateInstanceRequestOrBuilder
    • getLabelsCount

      public int getLabelsCount()
       A set of labels that are attached to the new instance. Instances can be
       queried based on labels, see also ListInstancesRequest.
       
      repeated .namespace.stdlib.Label labels = 5;
      Specified by:
      getLabelsCount in interface Compute.CreateInstanceRequestOrBuilder
    • getLabels

      public Labels.Label getLabels(int index)
       A set of labels that are attached to the new instance. Instances can be
       queried based on labels, see also ListInstancesRequest.
       
      repeated .namespace.stdlib.Label labels = 5;
      Specified by:
      getLabels in interface Compute.CreateInstanceRequestOrBuilder
    • getLabelsOrBuilder

      public Labels.LabelOrBuilder getLabelsOrBuilder(int index)
       A set of labels that are attached to the new instance. Instances can be
       queried based on labels, see also ListInstancesRequest.
       
      repeated .namespace.stdlib.Label labels = 5;
      Specified by:
      getLabelsOrBuilder in interface Compute.CreateInstanceRequestOrBuilder
    • hasDeadline

      public boolean hasDeadline()
       Timestamp of when this instance should be released (in UTC). Requested
       deadlines can be modified by policy. For example, if a workspace is
       configured with a maximum deadline of 24h, and a instance is created with
       a requested deadline of 48h, the resulting instance will have a deadline
       of 24h.
      
       When a instance hits its deadline, processes within will receive a
       `SIGTERM` and have a maximum time to shutdown gracefully before the
       instance is destroyed.
      
       Note: In JSON format, the Timestamp type is encoded as a string in the
       [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
       
      .google.protobuf.Timestamp deadline = 6;
      Specified by:
      hasDeadline in interface Compute.CreateInstanceRequestOrBuilder
      Returns:
      Whether the deadline field is set.
    • getDeadline

      public com.google.protobuf.Timestamp getDeadline()
       Timestamp of when this instance should be released (in UTC). Requested
       deadlines can be modified by policy. For example, if a workspace is
       configured with a maximum deadline of 24h, and a instance is created with
       a requested deadline of 48h, the resulting instance will have a deadline
       of 24h.
      
       When a instance hits its deadline, processes within will receive a
       `SIGTERM` and have a maximum time to shutdown gracefully before the
       instance is destroyed.
      
       Note: In JSON format, the Timestamp type is encoded as a string in the
       [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
       
      .google.protobuf.Timestamp deadline = 6;
      Specified by:
      getDeadline in interface Compute.CreateInstanceRequestOrBuilder
      Returns:
      The deadline.
    • getDeadlineOrBuilder

      public com.google.protobuf.TimestampOrBuilder getDeadlineOrBuilder()
       Timestamp of when this instance should be released (in UTC). Requested
       deadlines can be modified by policy. For example, if a workspace is
       configured with a maximum deadline of 24h, and a instance is created with
       a requested deadline of 48h, the resulting instance will have a deadline
       of 24h.
      
       When a instance hits its deadline, processes within will receive a
       `SIGTERM` and have a maximum time to shutdown gracefully before the
       instance is destroyed.
      
       Note: In JSON format, the Timestamp type is encoded as a string in the
       [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format.
       
      .google.protobuf.Timestamp deadline = 6;
      Specified by:
      getDeadlineOrBuilder in interface Compute.CreateInstanceRequestOrBuilder
    • getInteractive

      public boolean getInteractive()
       Deprecated and ignored; it used to allow creation queueing.
       
      bool interactive = 7;
      Specified by:
      getInteractive in interface Compute.CreateInstanceRequestOrBuilder
      Returns:
      The interactive.
    • getRegion

      public String getRegion()
       Requests that the new instance be created in the specified region.
      
       Typically a region is not set. In that case, the Namespace platform makes
       a placement a decision on behalf of users based on the type of workload,
       tenant policies and available global capacity.
       
      string region = 8;
      Specified by:
      getRegion in interface Compute.CreateInstanceRequestOrBuilder
      Returns:
      The region.
    • getRegionBytes

      public com.google.protobuf.ByteString getRegionBytes()
       Requests that the new instance be created in the specified region.
      
       Typically a region is not set. In that case, the Namespace platform makes
       a placement a decision on behalf of users based on the type of workload,
       tenant policies and available global capacity.
       
      string region = 8;
      Specified by:
      getRegionBytes in interface Compute.CreateInstanceRequestOrBuilder
      Returns:
      The bytes for region.
    • getPlacementList

      public com.google.protobuf.ProtocolStringList getPlacementList()
       Ordered placement selectors.
      
       Each entry must be one of:
       - `cell:<cell-name>` (for example `cell:iad2-a`)
       - `site:<site-name>` (for example `site:iad2`)
       - `continent:<continent-name>` (for example `continent:us`)
       - `any`
       
      repeated string placement = 19;
      Specified by:
      getPlacementList in interface Compute.CreateInstanceRequestOrBuilder
      Returns:
      A list containing the placement.
    • getPlacementCount

      public int getPlacementCount()
       Ordered placement selectors.
      
       Each entry must be one of:
       - `cell:<cell-name>` (for example `cell:iad2-a`)
       - `site:<site-name>` (for example `site:iad2`)
       - `continent:<continent-name>` (for example `continent:us`)
       - `any`
       
      repeated string placement = 19;
      Specified by:
      getPlacementCount in interface Compute.CreateInstanceRequestOrBuilder
      Returns:
      The count of placement.
    • getPlacement

      public String getPlacement(int index)
       Ordered placement selectors.
      
       Each entry must be one of:
       - `cell:<cell-name>` (for example `cell:iad2-a`)
       - `site:<site-name>` (for example `site:iad2`)
       - `continent:<continent-name>` (for example `continent:us`)
       - `any`
       
      repeated string placement = 19;
      Specified by:
      getPlacement in interface Compute.CreateInstanceRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The placement at the given index.
    • getPlacementBytes

      public com.google.protobuf.ByteString getPlacementBytes(int index)
       Ordered placement selectors.
      
       Each entry must be one of:
       - `cell:<cell-name>` (for example `cell:iad2-a`)
       - `site:<site-name>` (for example `site:iad2`)
       - `continent:<continent-name>` (for example `continent:us`)
       - `any`
       
      repeated string placement = 19;
      Specified by:
      getPlacementBytes in interface Compute.CreateInstanceRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the placement at the given index.
    • getContainersList

      public List<Compute.ContainerRequest> getContainersList()
       Start the specified containers as part of instance creation. Containers
       are deployed to `containerd` directly. See ContainerRequest for more
       details. Only supported on Linux platform.
       
      repeated .namespace.cloud.compute.v1beta.ContainerRequest containers = 9;
      Specified by:
      getContainersList in interface Compute.CreateInstanceRequestOrBuilder
    • getContainersOrBuilderList

      public List<? extends Compute.ContainerRequestOrBuilder> getContainersOrBuilderList()
       Start the specified containers as part of instance creation. Containers
       are deployed to `containerd` directly. See ContainerRequest for more
       details. Only supported on Linux platform.
       
      repeated .namespace.cloud.compute.v1beta.ContainerRequest containers = 9;
      Specified by:
      getContainersOrBuilderList in interface Compute.CreateInstanceRequestOrBuilder
    • getContainersCount

      public int getContainersCount()
       Start the specified containers as part of instance creation. Containers
       are deployed to `containerd` directly. See ContainerRequest for more
       details. Only supported on Linux platform.
       
      repeated .namespace.cloud.compute.v1beta.ContainerRequest containers = 9;
      Specified by:
      getContainersCount in interface Compute.CreateInstanceRequestOrBuilder
    • getContainers

      public Compute.ContainerRequest getContainers(int index)
       Start the specified containers as part of instance creation. Containers
       are deployed to `containerd` directly. See ContainerRequest for more
       details. Only supported on Linux platform.
       
      repeated .namespace.cloud.compute.v1beta.ContainerRequest containers = 9;
      Specified by:
      getContainers in interface Compute.CreateInstanceRequestOrBuilder
    • getContainersOrBuilder

      public Compute.ContainerRequestOrBuilder getContainersOrBuilder(int index)
       Start the specified containers as part of instance creation. Containers
       are deployed to `containerd` directly. See ContainerRequest for more
       details. Only supported on Linux platform.
       
      repeated .namespace.cloud.compute.v1beta.ContainerRequest containers = 9;
      Specified by:
      getContainersOrBuilder in interface Compute.CreateInstanceRequestOrBuilder
    • getIngressesList

      public List<Compute.Ingress> getIngressesList()
       Ingresses backed by ports exposed directly by the instance. Unlike
       container export ports, these can target any supported platform.
       
      repeated .namespace.cloud.compute.v1beta.Ingress ingresses = 20;
      Specified by:
      getIngressesList in interface Compute.CreateInstanceRequestOrBuilder
    • getIngressesOrBuilderList

      public List<? extends Compute.IngressOrBuilder> getIngressesOrBuilderList()
       Ingresses backed by ports exposed directly by the instance. Unlike
       container export ports, these can target any supported platform.
       
      repeated .namespace.cloud.compute.v1beta.Ingress ingresses = 20;
      Specified by:
      getIngressesOrBuilderList in interface Compute.CreateInstanceRequestOrBuilder
    • getIngressesCount

      public int getIngressesCount()
       Ingresses backed by ports exposed directly by the instance. Unlike
       container export ports, these can target any supported platform.
       
      repeated .namespace.cloud.compute.v1beta.Ingress ingresses = 20;
      Specified by:
      getIngressesCount in interface Compute.CreateInstanceRequestOrBuilder
    • getIngresses

      public Compute.Ingress getIngresses(int index)
       Ingresses backed by ports exposed directly by the instance. Unlike
       container export ports, these can target any supported platform.
       
      repeated .namespace.cloud.compute.v1beta.Ingress ingresses = 20;
      Specified by:
      getIngresses in interface Compute.CreateInstanceRequestOrBuilder
    • getIngressesOrBuilder

      public Compute.IngressOrBuilder getIngressesOrBuilder(int index)
       Ingresses backed by ports exposed directly by the instance. Unlike
       container export ports, these can target any supported platform.
       
      repeated .namespace.cloud.compute.v1beta.Ingress ingresses = 20;
      Specified by:
      getIngressesOrBuilder in interface Compute.CreateInstanceRequestOrBuilder
    • getIngressBaseDomain

      public String getIngressBaseDomain()
       Domain used to construct ingress hostnames for the instance. The
       workspace must be configured to allow the requested domain.
       
      string ingress_base_domain = 21;
      Specified by:
      getIngressBaseDomain in interface Compute.CreateInstanceRequestOrBuilder
      Returns:
      The ingressBaseDomain.
    • getIngressBaseDomainBytes

      public com.google.protobuf.ByteString getIngressBaseDomainBytes()
       Domain used to construct ingress hostnames for the instance. The
       workspace must be configured to allow the requested domain.
       
      string ingress_base_domain = 21;
      Specified by:
      getIngressBaseDomainBytes in interface Compute.CreateInstanceRequestOrBuilder
      Returns:
      The bytes for ingressBaseDomain.
    • getApplicationsList

      public List<Compute.ApplicationRequest> getApplicationsList()
       Start the specified applications on the instance without using
       containerization. See ApplicationRequest for details.
       
      repeated .namespace.cloud.compute.v1beta.ApplicationRequest applications = 14;
      Specified by:
      getApplicationsList in interface Compute.CreateInstanceRequestOrBuilder
    • getApplicationsOrBuilderList

      public List<? extends Compute.ApplicationRequestOrBuilder> getApplicationsOrBuilderList()
       Start the specified applications on the instance without using
       containerization. See ApplicationRequest for details.
       
      repeated .namespace.cloud.compute.v1beta.ApplicationRequest applications = 14;
      Specified by:
      getApplicationsOrBuilderList in interface Compute.CreateInstanceRequestOrBuilder
    • getApplicationsCount

      public int getApplicationsCount()
       Start the specified applications on the instance without using
       containerization. See ApplicationRequest for details.
       
      repeated .namespace.cloud.compute.v1beta.ApplicationRequest applications = 14;
      Specified by:
      getApplicationsCount in interface Compute.CreateInstanceRequestOrBuilder
    • getApplications

      public Compute.ApplicationRequest getApplications(int index)
       Start the specified applications on the instance without using
       containerization. See ApplicationRequest for details.
       
      repeated .namespace.cloud.compute.v1beta.ApplicationRequest applications = 14;
      Specified by:
      getApplications in interface Compute.CreateInstanceRequestOrBuilder
    • getApplicationsOrBuilder

      public Compute.ApplicationRequestOrBuilder getApplicationsOrBuilder(int index)
       Start the specified applications on the instance without using
       containerization. See ApplicationRequest for details.
       
      repeated .namespace.cloud.compute.v1beta.ApplicationRequest applications = 14;
      Specified by:
      getApplicationsOrBuilder in interface Compute.CreateInstanceRequestOrBuilder
    • hasExperimental

      public boolean hasExperimental()
       A set of experimental features that should be attached to this instance.
       Experimental features may be removed or modified at any time by the
       Namespace team.
       
      .namespace.cloud.compute.v1beta.CreateInstanceRequest.ExperimentalFeatures experimental = 10;
      Specified by:
      hasExperimental in interface Compute.CreateInstanceRequestOrBuilder
      Returns:
      Whether the experimental field is set.
    • getExperimental

       A set of experimental features that should be attached to this instance.
       Experimental features may be removed or modified at any time by the
       Namespace team.
       
      .namespace.cloud.compute.v1beta.CreateInstanceRequest.ExperimentalFeatures experimental = 10;
      Specified by:
      getExperimental in interface Compute.CreateInstanceRequestOrBuilder
      Returns:
      The experimental.
    • getExperimentalOrBuilder

       A set of experimental features that should be attached to this instance.
       Experimental features may be removed or modified at any time by the
       Namespace team.
       
      .namespace.cloud.compute.v1beta.CreateInstanceRequest.ExperimentalFeatures experimental = 10;
      Specified by:
      getExperimentalOrBuilder in interface Compute.CreateInstanceRequestOrBuilder
    • getVolumesList

      public List<Compute.VolumeRequest> getVolumesList()
       Attach storage to the instance, notably, cache volumes.
       See https://namespace.so/docs/architecture/storage/cache-volumes for details.
       
      repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;
      Specified by:
      getVolumesList in interface Compute.CreateInstanceRequestOrBuilder
    • getVolumesOrBuilderList

      public List<? extends Compute.VolumeRequestOrBuilder> getVolumesOrBuilderList()
       Attach storage to the instance, notably, cache volumes.
       See https://namespace.so/docs/architecture/storage/cache-volumes for details.
       
      repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;
      Specified by:
      getVolumesOrBuilderList in interface Compute.CreateInstanceRequestOrBuilder
    • getVolumesCount

      public int getVolumesCount()
       Attach storage to the instance, notably, cache volumes.
       See https://namespace.so/docs/architecture/storage/cache-volumes for details.
       
      repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;
      Specified by:
      getVolumesCount in interface Compute.CreateInstanceRequestOrBuilder
    • getVolumes

      public Compute.VolumeRequest getVolumes(int index)
       Attach storage to the instance, notably, cache volumes.
       See https://namespace.so/docs/architecture/storage/cache-volumes for details.
       
      repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;
      Specified by:
      getVolumes in interface Compute.CreateInstanceRequestOrBuilder
    • getVolumesOrBuilder

      public Compute.VolumeRequestOrBuilder getVolumesOrBuilder(int index)
       Attach storage to the instance, notably, cache volumes.
       See https://namespace.so/docs/architecture/storage/cache-volumes for details.
       
      repeated .namespace.cloud.compute.v1beta.VolumeRequest volumes = 12;
      Specified by:
      getVolumesOrBuilder in interface Compute.CreateInstanceRequestOrBuilder
    • hasContainerCache

      public boolean hasContainerCache()
       Enable container caching. Container caching is only available on Linux.
       
      .namespace.cloud.compute.v1beta.ContainerCache container_cache = 13;
      Specified by:
      hasContainerCache in interface Compute.CreateInstanceRequestOrBuilder
      Returns:
      Whether the containerCache field is set.
    • getContainerCache

      public Compute.ContainerCache getContainerCache()
       Enable container caching. Container caching is only available on Linux.
       
      .namespace.cloud.compute.v1beta.ContainerCache container_cache = 13;
      Specified by:
      getContainerCache in interface Compute.CreateInstanceRequestOrBuilder
      Returns:
      The containerCache.
    • getContainerCacheOrBuilder

      public Compute.ContainerCacheOrBuilder getContainerCacheOrBuilder()
       Enable container caching. Container caching is only available on Linux.
       
      .namespace.cloud.compute.v1beta.ContainerCache container_cache = 13;
      Specified by:
      getContainerCacheOrBuilder in interface Compute.CreateInstanceRequestOrBuilder
    • hasHttpEventCallback

      public boolean hasHttpEventCallback()
       We'll HTTP POST on this URL whenever the instance changes state. The body
       of the post will be application/json with a serialized
       InstanceEventMetadata.
       
      .namespace.stdlib.HttpCallbackEndpoint http_event_callback = 15;
      Specified by:
      hasHttpEventCallback in interface Compute.CreateInstanceRequestOrBuilder
      Returns:
      Whether the httpEventCallback field is set.
    • getHttpEventCallback

      public Callback.HttpCallbackEndpoint getHttpEventCallback()
       We'll HTTP POST on this URL whenever the instance changes state. The body
       of the post will be application/json with a serialized
       InstanceEventMetadata.
       
      .namespace.stdlib.HttpCallbackEndpoint http_event_callback = 15;
      Specified by:
      getHttpEventCallback in interface Compute.CreateInstanceRequestOrBuilder
      Returns:
      The httpEventCallback.
    • getHttpEventCallbackOrBuilder

      public Callback.HttpCallbackEndpointOrBuilder getHttpEventCallbackOrBuilder()
       We'll HTTP POST on this URL whenever the instance changes state. The body
       of the post will be application/json with a serialized
       InstanceEventMetadata.
       
      .namespace.stdlib.HttpCallbackEndpoint http_event_callback = 15;
      Specified by:
      getHttpEventCallbackOrBuilder in interface Compute.CreateInstanceRequestOrBuilder
    • getAdditionalRegistriesCount

      public int getAdditionalRegistriesCount()
      Description copied from interface: Compute.CreateInstanceRequestOrBuilder
       Additional authenticated registries that can be targeted when pulling images.
       The map key is the registry address.
       
      map<string, .namespace.cloud.compute.v1beta.AdditionalRegistry> additional_registries = 16;
      Specified by:
      getAdditionalRegistriesCount in interface Compute.CreateInstanceRequestOrBuilder
    • containsAdditionalRegistries

      public boolean containsAdditionalRegistries(String key)
       Additional authenticated registries that can be targeted when pulling images.
       The map key is the registry address.
       
      map<string, .namespace.cloud.compute.v1beta.AdditionalRegistry> additional_registries = 16;
      Specified by:
      containsAdditionalRegistries in interface Compute.CreateInstanceRequestOrBuilder
    • getAdditionalRegistries

      @Deprecated public Map<String,Compute.AdditionalRegistry> getAdditionalRegistries()
      Deprecated.
      Specified by:
      getAdditionalRegistries in interface Compute.CreateInstanceRequestOrBuilder
    • getAdditionalRegistriesMap

      public Map<String,Compute.AdditionalRegistry> getAdditionalRegistriesMap()
       Additional authenticated registries that can be targeted when pulling images.
       The map key is the registry address.
       
      map<string, .namespace.cloud.compute.v1beta.AdditionalRegistry> additional_registries = 16;
      Specified by:
      getAdditionalRegistriesMap in interface Compute.CreateInstanceRequestOrBuilder
    • getAdditionalRegistriesOrDefault

      public Compute.AdditionalRegistry getAdditionalRegistriesOrDefault(String key, Compute.AdditionalRegistry defaultValue)
       Additional authenticated registries that can be targeted when pulling images.
       The map key is the registry address.
       
      map<string, .namespace.cloud.compute.v1beta.AdditionalRegistry> additional_registries = 16;
      Specified by:
      getAdditionalRegistriesOrDefault in interface Compute.CreateInstanceRequestOrBuilder
    • getAdditionalRegistriesOrThrow

      public Compute.AdditionalRegistry getAdditionalRegistriesOrThrow(String key)
       Additional authenticated registries that can be targeted when pulling images.
       The map key is the registry address.
       
      map<string, .namespace.cloud.compute.v1beta.AdditionalRegistry> additional_registries = 16;
      Specified by:
      getAdditionalRegistriesOrThrow in interface Compute.CreateInstanceRequestOrBuilder
    • getWorkloadPermissionsList

      public List<Authz.Permission> getWorkloadPermissionsList()
       The set of permissions to grant to the workload running in this instance.
       If not specified, inherits the tenant's default workload permissions.
       If the tenant token used to authenticate this request does not itself
       grant a requested permission, the request fails with `PermissionDenied`.
       See https://namespace.so/docs/security/permissions for available permissions.
       
      repeated .namespace.cloud.iam.v1beta.Permission workload_permissions = 17;
      Specified by:
      getWorkloadPermissionsList in interface Compute.CreateInstanceRequestOrBuilder
    • getWorkloadPermissionsOrBuilderList

      public List<? extends Authz.PermissionOrBuilder> getWorkloadPermissionsOrBuilderList()
       The set of permissions to grant to the workload running in this instance.
       If not specified, inherits the tenant's default workload permissions.
       If the tenant token used to authenticate this request does not itself
       grant a requested permission, the request fails with `PermissionDenied`.
       See https://namespace.so/docs/security/permissions for available permissions.
       
      repeated .namespace.cloud.iam.v1beta.Permission workload_permissions = 17;
      Specified by:
      getWorkloadPermissionsOrBuilderList in interface Compute.CreateInstanceRequestOrBuilder
    • getWorkloadPermissionsCount

      public int getWorkloadPermissionsCount()
       The set of permissions to grant to the workload running in this instance.
       If not specified, inherits the tenant's default workload permissions.
       If the tenant token used to authenticate this request does not itself
       grant a requested permission, the request fails with `PermissionDenied`.
       See https://namespace.so/docs/security/permissions for available permissions.
       
      repeated .namespace.cloud.iam.v1beta.Permission workload_permissions = 17;
      Specified by:
      getWorkloadPermissionsCount in interface Compute.CreateInstanceRequestOrBuilder
    • getWorkloadPermissions

      public Authz.Permission getWorkloadPermissions(int index)
       The set of permissions to grant to the workload running in this instance.
       If not specified, inherits the tenant's default workload permissions.
       If the tenant token used to authenticate this request does not itself
       grant a requested permission, the request fails with `PermissionDenied`.
       See https://namespace.so/docs/security/permissions for available permissions.
       
      repeated .namespace.cloud.iam.v1beta.Permission workload_permissions = 17;
      Specified by:
      getWorkloadPermissions in interface Compute.CreateInstanceRequestOrBuilder
    • getWorkloadPermissionsOrBuilder

      public Authz.PermissionOrBuilder getWorkloadPermissionsOrBuilder(int index)
       The set of permissions to grant to the workload running in this instance.
       If not specified, inherits the tenant's default workload permissions.
       If the tenant token used to authenticate this request does not itself
       grant a requested permission, the request fails with `PermissionDenied`.
       See https://namespace.so/docs/security/permissions for available permissions.
       
      repeated .namespace.cloud.iam.v1beta.Permission workload_permissions = 17;
      Specified by:
      getWorkloadPermissionsOrBuilder in interface Compute.CreateInstanceRequestOrBuilder
    • hasNetworkPolicy

      public boolean hasNetworkPolicy()
       Network policy to apply to the instance.
       See https://namespace.so/docs/architecture/networking/security for details.
       
      .namespace.cloud.compute.v1beta.CreateInstanceRequest.NetworkPolicy network_policy = 18;
      Specified by:
      hasNetworkPolicy in interface Compute.CreateInstanceRequestOrBuilder
      Returns:
      Whether the networkPolicy field is set.
    • getNetworkPolicy

       Network policy to apply to the instance.
       See https://namespace.so/docs/architecture/networking/security for details.
       
      .namespace.cloud.compute.v1beta.CreateInstanceRequest.NetworkPolicy network_policy = 18;
      Specified by:
      getNetworkPolicy in interface Compute.CreateInstanceRequestOrBuilder
      Returns:
      The networkPolicy.
    • getNetworkPolicyOrBuilder

      public Compute.CreateInstanceRequest.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder()
       Network policy to apply to the instance.
       See https://namespace.so/docs/architecture/networking/security for details.
       
      .namespace.cloud.compute.v1beta.CreateInstanceRequest.NetworkPolicy network_policy = 18;
      Specified by:
      getNetworkPolicyOrBuilder in interface Compute.CreateInstanceRequestOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Compute.CreateInstanceRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Compute.CreateInstanceRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Compute.CreateInstanceRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Compute.CreateInstanceRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Compute.CreateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Compute.CreateInstanceRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Compute.CreateInstanceRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Compute.CreateInstanceRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Compute.CreateInstanceRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Compute.CreateInstanceRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Compute.CreateInstanceRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Compute.CreateInstanceRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Compute.CreateInstanceRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Compute.CreateInstanceRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Compute.CreateInstanceRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Compute.CreateInstanceRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Compute.CreateInstanceRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<Compute.CreateInstanceRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Compute.CreateInstanceRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder