Class Compute.CreateInstanceRequest.Builder

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

public static final class Compute.CreateInstanceRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<Compute.CreateInstanceRequest.Builder> implements Compute.CreateInstanceRequestOrBuilder
Protobuf type namespace.cloud.compute.v1beta.CreateInstanceRequest
  • 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.Builder<Compute.CreateInstanceRequest.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Compute.CreateInstanceRequest.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Compute.CreateInstanceRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Compute.CreateInstanceRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Compute.CreateInstanceRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public Compute.CreateInstanceRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Compute.CreateInstanceRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Compute.CreateInstanceRequest.Builder>
    • mergeFrom

      public Compute.CreateInstanceRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Compute.CreateInstanceRequest.Builder>
      Throws:
      IOException
    • 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.
    • setShape

       The shape of the instance to be created.
       
      .namespace.cloud.compute.v1beta.InstanceShape shape = 1;
    • setShape

       The shape of the instance to be created.
       
      .namespace.cloud.compute.v1beta.InstanceShape shape = 1;
    • mergeShape

       The shape of the instance to be created.
       
      .namespace.cloud.compute.v1beta.InstanceShape shape = 1;
    • clearShape

       The shape of the instance to be created.
       
      .namespace.cloud.compute.v1beta.InstanceShape shape = 1;
    • getShapeBuilder

      public Compute.InstanceShape.Builder getShapeBuilder()
       The shape of the instance to be created.
       
      .namespace.cloud.compute.v1beta.InstanceShape shape = 1;
    • 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.
    • setFeatures

       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;
      Parameters:
      index - The index to set the value at.
      value - The features to set.
      Returns:
      This builder for chaining.
    • addFeatures

       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;
      Parameters:
      value - The features to add.
      Returns:
      This builder for chaining.
    • addAllFeatures

       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;
      Parameters:
      values - The features to add.
      Returns:
      This builder for chaining.
    • clearFeatures

      public Compute.CreateInstanceRequest.Builder clearFeatures()
       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;
      Returns:
      This builder for chaining.
    • 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.
    • setFeaturesValue

      public Compute.CreateInstanceRequest.Builder setFeaturesValue(int index, int value)
       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;
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for features to set.
      Returns:
      This builder for chaining.
    • addFeaturesValue

      public Compute.CreateInstanceRequest.Builder addFeaturesValue(int value)
       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;
      Parameters:
      value - The enum numeric value on the wire for features to add.
      Returns:
      This builder for chaining.
    • addAllFeaturesValue

      public Compute.CreateInstanceRequest.Builder addAllFeaturesValue(Iterable<Integer> values)
       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;
      Parameters:
      values - The enum numeric values on the wire for features to add.
      Returns:
      This builder for chaining.
    • 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.
    • setFeatureConfiguration

       A list of features that should be enabled in this instance.
       
      .namespace.cloud.compute.v1beta.CreateInstanceRequest.FeatureConfiguration feature_configuration = 11;
    • setFeatureConfiguration

       A list of features that should be enabled in this instance.
       
      .namespace.cloud.compute.v1beta.CreateInstanceRequest.FeatureConfiguration feature_configuration = 11;
    • mergeFeatureConfiguration

       A list of features that should be enabled in this instance.
       
      .namespace.cloud.compute.v1beta.CreateInstanceRequest.FeatureConfiguration feature_configuration = 11;
    • clearFeatureConfiguration

      public Compute.CreateInstanceRequest.Builder clearFeatureConfiguration()
       A list of features that should be enabled in this instance.
       
      .namespace.cloud.compute.v1beta.CreateInstanceRequest.FeatureConfiguration feature_configuration = 11;
    • getFeatureConfigurationBuilder

      public Compute.CreateInstanceRequest.FeatureConfiguration.Builder getFeatureConfigurationBuilder()
       A list of features that should be enabled in this instance.
       
      .namespace.cloud.compute.v1beta.CreateInstanceRequest.FeatureConfiguration feature_configuration = 11;
    • 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.
    • setDocumentedPurpose

      public Compute.CreateInstanceRequest.Builder setDocumentedPurpose(String value)
       A human-facing description of the purpose of this instance. Used for
       debugging purposes.
       
      string documented_purpose = 4;
      Parameters:
      value - The documentedPurpose to set.
      Returns:
      This builder for chaining.
    • clearDocumentedPurpose

      public Compute.CreateInstanceRequest.Builder clearDocumentedPurpose()
       A human-facing description of the purpose of this instance. Used for
       debugging purposes.
       
      string documented_purpose = 4;
      Returns:
      This builder for chaining.
    • setDocumentedPurposeBytes

      public Compute.CreateInstanceRequest.Builder setDocumentedPurposeBytes(com.google.protobuf.ByteString value)
       A human-facing description of the purpose of this instance. Used for
       debugging purposes.
       
      string documented_purpose = 4;
      Parameters:
      value - The bytes for documentedPurpose to set.
      Returns:
      This builder for chaining.
    • 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
    • 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
    • setLabels

      public Compute.CreateInstanceRequest.Builder setLabels(int index, Labels.Label value)
       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;
    • setLabels

      public Compute.CreateInstanceRequest.Builder setLabels(int index, Labels.Label.Builder builderForValue)
       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;
    • addLabels

       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;
    • addLabels

      public Compute.CreateInstanceRequest.Builder addLabels(int index, Labels.Label value)
       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;
    • addLabels

      public Compute.CreateInstanceRequest.Builder addLabels(Labels.Label.Builder builderForValue)
       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;
    • addLabels

      public Compute.CreateInstanceRequest.Builder addLabels(int index, Labels.Label.Builder builderForValue)
       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;
    • addAllLabels

      public Compute.CreateInstanceRequest.Builder addAllLabels(Iterable<? extends Labels.Label> values)
       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;
    • clearLabels

       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;
    • removeLabels

      public Compute.CreateInstanceRequest.Builder removeLabels(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;
    • getLabelsBuilder

      public Labels.Label.Builder getLabelsBuilder(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;
    • 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
    • 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
    • addLabelsBuilder

      public Labels.Label.Builder addLabelsBuilder()
       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;
    • addLabelsBuilder

      public Labels.Label.Builder addLabelsBuilder(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;
    • getLabelsBuilderList

      public List<Labels.Label.Builder> getLabelsBuilderList()
       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;
    • 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.
    • setDeadline

      public Compute.CreateInstanceRequest.Builder setDeadline(com.google.protobuf.Timestamp value)
       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;
    • setDeadline

      public Compute.CreateInstanceRequest.Builder setDeadline(com.google.protobuf.Timestamp.Builder builderForValue)
       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;
    • mergeDeadline

      public Compute.CreateInstanceRequest.Builder mergeDeadline(com.google.protobuf.Timestamp value)
       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;
    • clearDeadline

      public Compute.CreateInstanceRequest.Builder clearDeadline()
       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;
    • getDeadlineBuilder

      public com.google.protobuf.Timestamp.Builder getDeadlineBuilder()
       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;
    • 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.
    • setInteractive

      public Compute.CreateInstanceRequest.Builder setInteractive(boolean value)
       Deprecated and ignored; it used to allow creation queueing.
       
      bool interactive = 7;
      Parameters:
      value - The interactive to set.
      Returns:
      This builder for chaining.
    • clearInteractive

      public Compute.CreateInstanceRequest.Builder clearInteractive()
       Deprecated and ignored; it used to allow creation queueing.
       
      bool interactive = 7;
      Returns:
      This builder for chaining.
    • 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.
    • setRegion

       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;
      Parameters:
      value - The region to set.
      Returns:
      This builder for chaining.
    • clearRegion

       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;
      Returns:
      This builder for chaining.
    • setRegionBytes

      public Compute.CreateInstanceRequest.Builder setRegionBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for region to set.
      Returns:
      This builder for chaining.
    • 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.
    • setPlacement

      public Compute.CreateInstanceRequest.Builder setPlacement(int index, String value)
       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;
      Parameters:
      index - The index to set the value at.
      value - The placement to set.
      Returns:
      This builder for chaining.
    • addPlacement

      public Compute.CreateInstanceRequest.Builder addPlacement(String value)
       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;
      Parameters:
      value - The placement to add.
      Returns:
      This builder for chaining.
    • addAllPlacement

      public Compute.CreateInstanceRequest.Builder addAllPlacement(Iterable<String> values)
       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;
      Parameters:
      values - The placement to add.
      Returns:
      This builder for chaining.
    • clearPlacement

      public Compute.CreateInstanceRequest.Builder clearPlacement()
       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;
      Returns:
      This builder for chaining.
    • addPlacementBytes

      public Compute.CreateInstanceRequest.Builder addPlacementBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes of the placement to add.
      Returns:
      This builder for chaining.
    • 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
    • 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
    • setContainers

      public Compute.CreateInstanceRequest.Builder setContainers(int index, Compute.ContainerRequest value)
       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;
    • setContainers

      public Compute.CreateInstanceRequest.Builder setContainers(int index, Compute.ContainerRequest.Builder builderForValue)
       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;
    • addContainers

       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;
    • addContainers

      public Compute.CreateInstanceRequest.Builder addContainers(int index, Compute.ContainerRequest value)
       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;
    • addContainers

       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;
    • addContainers

      public Compute.CreateInstanceRequest.Builder addContainers(int index, Compute.ContainerRequest.Builder builderForValue)
       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;
    • addAllContainers

      public Compute.CreateInstanceRequest.Builder addAllContainers(Iterable<? extends Compute.ContainerRequest> values)
       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;
    • clearContainers

      public Compute.CreateInstanceRequest.Builder clearContainers()
       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;
    • removeContainers

      public Compute.CreateInstanceRequest.Builder removeContainers(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;
    • getContainersBuilder

      public Compute.ContainerRequest.Builder getContainersBuilder(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;
    • 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
    • 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
    • addContainersBuilder

      public Compute.ContainerRequest.Builder addContainersBuilder()
       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;
    • addContainersBuilder

      public Compute.ContainerRequest.Builder addContainersBuilder(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;
    • getContainersBuilderList

      public List<Compute.ContainerRequest.Builder> getContainersBuilderList()
       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;
    • 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
    • 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
    • setIngresses

      public Compute.CreateInstanceRequest.Builder setIngresses(int index, Compute.Ingress value)
       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;
    • setIngresses

      public Compute.CreateInstanceRequest.Builder setIngresses(int index, Compute.Ingress.Builder builderForValue)
       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;
    • addIngresses

       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;
    • addIngresses

      public Compute.CreateInstanceRequest.Builder addIngresses(int index, Compute.Ingress value)
       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;
    • addIngresses

      public Compute.CreateInstanceRequest.Builder addIngresses(Compute.Ingress.Builder builderForValue)
       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;
    • addIngresses

      public Compute.CreateInstanceRequest.Builder addIngresses(int index, Compute.Ingress.Builder builderForValue)
       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;
    • addAllIngresses

      public Compute.CreateInstanceRequest.Builder addAllIngresses(Iterable<? extends Compute.Ingress> values)
       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;
    • clearIngresses

      public Compute.CreateInstanceRequest.Builder clearIngresses()
       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;
    • removeIngresses

      public Compute.CreateInstanceRequest.Builder removeIngresses(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;
    • getIngressesBuilder

      public Compute.Ingress.Builder getIngressesBuilder(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;
    • 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
    • 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
    • addIngressesBuilder

      public Compute.Ingress.Builder addIngressesBuilder()
       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;
    • addIngressesBuilder

      public Compute.Ingress.Builder addIngressesBuilder(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;
    • getIngressesBuilderList

      public List<Compute.Ingress.Builder> getIngressesBuilderList()
       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;
    • 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.
    • setIngressBaseDomain

      public Compute.CreateInstanceRequest.Builder setIngressBaseDomain(String value)
       Domain used to construct ingress hostnames for the instance. The
       workspace must be configured to allow the requested domain.
       
      string ingress_base_domain = 21;
      Parameters:
      value - The ingressBaseDomain to set.
      Returns:
      This builder for chaining.
    • clearIngressBaseDomain

      public Compute.CreateInstanceRequest.Builder clearIngressBaseDomain()
       Domain used to construct ingress hostnames for the instance. The
       workspace must be configured to allow the requested domain.
       
      string ingress_base_domain = 21;
      Returns:
      This builder for chaining.
    • setIngressBaseDomainBytes

      public Compute.CreateInstanceRequest.Builder setIngressBaseDomainBytes(com.google.protobuf.ByteString value)
       Domain used to construct ingress hostnames for the instance. The
       workspace must be configured to allow the requested domain.
       
      string ingress_base_domain = 21;
      Parameters:
      value - The bytes for ingressBaseDomain to set.
      Returns:
      This builder for chaining.
    • 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
    • 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
    • setApplications

      public Compute.CreateInstanceRequest.Builder setApplications(int index, Compute.ApplicationRequest value)
       Start the specified applications on the instance without using
       containerization. See ApplicationRequest for details.
       
      repeated .namespace.cloud.compute.v1beta.ApplicationRequest applications = 14;
    • setApplications

      public Compute.CreateInstanceRequest.Builder setApplications(int index, Compute.ApplicationRequest.Builder builderForValue)
       Start the specified applications on the instance without using
       containerization. See ApplicationRequest for details.
       
      repeated .namespace.cloud.compute.v1beta.ApplicationRequest applications = 14;
    • addApplications

       Start the specified applications on the instance without using
       containerization. See ApplicationRequest for details.
       
      repeated .namespace.cloud.compute.v1beta.ApplicationRequest applications = 14;
    • addApplications

      public Compute.CreateInstanceRequest.Builder addApplications(int index, Compute.ApplicationRequest value)
       Start the specified applications on the instance without using
       containerization. See ApplicationRequest for details.
       
      repeated .namespace.cloud.compute.v1beta.ApplicationRequest applications = 14;
    • addApplications

       Start the specified applications on the instance without using
       containerization. See ApplicationRequest for details.
       
      repeated .namespace.cloud.compute.v1beta.ApplicationRequest applications = 14;
    • addApplications

      public Compute.CreateInstanceRequest.Builder addApplications(int index, Compute.ApplicationRequest.Builder builderForValue)
       Start the specified applications on the instance without using
       containerization. See ApplicationRequest for details.
       
      repeated .namespace.cloud.compute.v1beta.ApplicationRequest applications = 14;
    • addAllApplications

      public Compute.CreateInstanceRequest.Builder addAllApplications(Iterable<? extends Compute.ApplicationRequest> values)
       Start the specified applications on the instance without using
       containerization. See ApplicationRequest for details.
       
      repeated .namespace.cloud.compute.v1beta.ApplicationRequest applications = 14;
    • clearApplications

      public Compute.CreateInstanceRequest.Builder clearApplications()
       Start the specified applications on the instance without using
       containerization. See ApplicationRequest for details.
       
      repeated .namespace.cloud.compute.v1beta.ApplicationRequest applications = 14;
    • removeApplications

      public Compute.CreateInstanceRequest.Builder removeApplications(int index)
       Start the specified applications on the instance without using
       containerization. See ApplicationRequest for details.
       
      repeated .namespace.cloud.compute.v1beta.ApplicationRequest applications = 14;
    • getApplicationsBuilder

      public Compute.ApplicationRequest.Builder getApplicationsBuilder(int index)
       Start the specified applications on the instance without using
       containerization. See ApplicationRequest for details.
       
      repeated .namespace.cloud.compute.v1beta.ApplicationRequest applications = 14;
    • 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
    • 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
    • addApplicationsBuilder

      public Compute.ApplicationRequest.Builder addApplicationsBuilder()
       Start the specified applications on the instance without using
       containerization. See ApplicationRequest for details.
       
      repeated .namespace.cloud.compute.v1beta.ApplicationRequest applications = 14;
    • addApplicationsBuilder

      public Compute.ApplicationRequest.Builder addApplicationsBuilder(int index)
       Start the specified applications on the instance without using
       containerization. See ApplicationRequest for details.
       
      repeated .namespace.cloud.compute.v1beta.ApplicationRequest applications = 14;
    • getApplicationsBuilderList

      public List<Compute.ApplicationRequest.Builder> getApplicationsBuilderList()
       Start the specified applications on the instance without using
       containerization. See ApplicationRequest for details.
       
      repeated .namespace.cloud.compute.v1beta.ApplicationRequest applications = 14;
    • 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.
    • setExperimental

       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;
    • setExperimental

       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;
    • mergeExperimental

       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;
    • clearExperimental

      public Compute.CreateInstanceRequest.Builder clearExperimental()
       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;
    • getExperimentalBuilder

       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;
    • 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
    • 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
    • setVolumes

      public Compute.CreateInstanceRequest.Builder setVolumes(int index, Compute.VolumeRequest value)
       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;
    • setVolumes

      public Compute.CreateInstanceRequest.Builder setVolumes(int index, Compute.VolumeRequest.Builder builderForValue)
       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;
    • addVolumes

       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;
    • addVolumes

      public Compute.CreateInstanceRequest.Builder addVolumes(int index, Compute.VolumeRequest value)
       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;
    • addVolumes

       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;
    • addVolumes

      public Compute.CreateInstanceRequest.Builder addVolumes(int index, Compute.VolumeRequest.Builder builderForValue)
       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;
    • addAllVolumes

      public Compute.CreateInstanceRequest.Builder addAllVolumes(Iterable<? extends Compute.VolumeRequest> values)
       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;
    • clearVolumes

       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;
    • removeVolumes

      public Compute.CreateInstanceRequest.Builder removeVolumes(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;
    • getVolumesBuilder

      public Compute.VolumeRequest.Builder getVolumesBuilder(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;
    • 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
    • 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
    • addVolumesBuilder

      public Compute.VolumeRequest.Builder addVolumesBuilder()
       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;
    • addVolumesBuilder

      public Compute.VolumeRequest.Builder addVolumesBuilder(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;
    • getVolumesBuilderList

      public List<Compute.VolumeRequest.Builder> getVolumesBuilderList()
       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;
    • 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.
    • setContainerCache

       Enable container caching. Container caching is only available on Linux.
       
      .namespace.cloud.compute.v1beta.ContainerCache container_cache = 13;
    • setContainerCache

      public Compute.CreateInstanceRequest.Builder setContainerCache(Compute.ContainerCache.Builder builderForValue)
       Enable container caching. Container caching is only available on Linux.
       
      .namespace.cloud.compute.v1beta.ContainerCache container_cache = 13;
    • mergeContainerCache

       Enable container caching. Container caching is only available on Linux.
       
      .namespace.cloud.compute.v1beta.ContainerCache container_cache = 13;
    • clearContainerCache

      public Compute.CreateInstanceRequest.Builder clearContainerCache()
       Enable container caching. Container caching is only available on Linux.
       
      .namespace.cloud.compute.v1beta.ContainerCache container_cache = 13;
    • getContainerCacheBuilder

      public Compute.ContainerCache.Builder getContainerCacheBuilder()
       Enable container caching. Container caching is only available on Linux.
       
      .namespace.cloud.compute.v1beta.ContainerCache container_cache = 13;
    • 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.
    • setHttpEventCallback

       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;
    • setHttpEventCallback

       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;
    • mergeHttpEventCallback

       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;
    • clearHttpEventCallback

      public Compute.CreateInstanceRequest.Builder clearHttpEventCallback()
       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;
    • getHttpEventCallbackBuilder

      public Callback.HttpCallbackEndpoint.Builder getHttpEventCallbackBuilder()
       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;
    • 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
    • clearAdditionalRegistries

      public Compute.CreateInstanceRequest.Builder clearAdditionalRegistries()
    • removeAdditionalRegistries

      public Compute.CreateInstanceRequest.Builder removeAdditionalRegistries(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;
    • getMutableAdditionalRegistries

      @Deprecated public Map<String,Compute.AdditionalRegistry> getMutableAdditionalRegistries()
      Deprecated.
      Use alternate mutation accessors instead.
    • putAdditionalRegistries

      public Compute.CreateInstanceRequest.Builder putAdditionalRegistries(String key, Compute.AdditionalRegistry value)
       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;
    • putAllAdditionalRegistries

      public Compute.CreateInstanceRequest.Builder putAllAdditionalRegistries(Map<String,Compute.AdditionalRegistry> values)
       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;
    • putAdditionalRegistriesBuilderIfAbsent

      public Compute.AdditionalRegistry.Builder putAdditionalRegistriesBuilderIfAbsent(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;
    • 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
    • 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
    • setWorkloadPermissions

      public Compute.CreateInstanceRequest.Builder setWorkloadPermissions(int index, Authz.Permission value)
       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;
    • setWorkloadPermissions

      public Compute.CreateInstanceRequest.Builder setWorkloadPermissions(int index, Authz.Permission.Builder builderForValue)
       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;
    • addWorkloadPermissions

      public Compute.CreateInstanceRequest.Builder addWorkloadPermissions(Authz.Permission value)
       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;
    • addWorkloadPermissions

      public Compute.CreateInstanceRequest.Builder addWorkloadPermissions(int index, Authz.Permission value)
       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;
    • addWorkloadPermissions

      public Compute.CreateInstanceRequest.Builder addWorkloadPermissions(Authz.Permission.Builder builderForValue)
       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;
    • addWorkloadPermissions

      public Compute.CreateInstanceRequest.Builder addWorkloadPermissions(int index, Authz.Permission.Builder builderForValue)
       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;
    • addAllWorkloadPermissions

      public Compute.CreateInstanceRequest.Builder addAllWorkloadPermissions(Iterable<? extends Authz.Permission> values)
       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;
    • clearWorkloadPermissions

      public Compute.CreateInstanceRequest.Builder clearWorkloadPermissions()
       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;
    • removeWorkloadPermissions

      public Compute.CreateInstanceRequest.Builder removeWorkloadPermissions(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;
    • getWorkloadPermissionsBuilder

      public Authz.Permission.Builder getWorkloadPermissionsBuilder(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;
    • 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
    • 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
    • addWorkloadPermissionsBuilder

      public Authz.Permission.Builder addWorkloadPermissionsBuilder()
       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;
    • addWorkloadPermissionsBuilder

      public Authz.Permission.Builder addWorkloadPermissionsBuilder(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;
    • getWorkloadPermissionsBuilderList

      public List<Authz.Permission.Builder> getWorkloadPermissionsBuilderList()
       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;
    • 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.
    • setNetworkPolicy

       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;
    • setNetworkPolicy

       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;
    • mergeNetworkPolicy

       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;
    • clearNetworkPolicy

      public Compute.CreateInstanceRequest.Builder clearNetworkPolicy()
       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;
    • getNetworkPolicyBuilder

      public Compute.CreateInstanceRequest.NetworkPolicy.Builder getNetworkPolicyBuilder()
       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;
    • 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