Class Deployment.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Deployment.Builder>
com.google.cloud.telcoautomation.v1.Deployment.Builder
All Implemented Interfaces:
DeploymentOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Deployment

public static final class Deployment.Builder extends com.google.protobuf.GeneratedMessage.Builder<Deployment.Builder> implements DeploymentOrBuilder
 Deployment contains a collection of YAML files (This collection is also known
 as package) that can to applied on an orchestration cluster (GKE cluster with
 TNA addons) or a workload cluster.
 
Protobuf type google.cloud.telcoautomation.v1.Deployment
  • 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<Deployment.Builder>
    • internalGetMutableMapFieldReflection

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

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

      public Deployment.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<Deployment.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<Deployment.Builder>
    • getDefaultInstanceForType

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

      public Deployment build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public Deployment.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<Deployment.Builder>
    • mergeFrom

      public Deployment.Builder mergeFrom(Deployment other)
    • isInitialized

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

      public Deployment.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<Deployment.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       The name of the deployment.
       
      string name = 1;
      Specified by:
      getName in interface DeploymentOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of the deployment.
       
      string name = 1;
      Specified by:
      getNameBytes in interface DeploymentOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Deployment.Builder setName(String value)
       The name of the deployment.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Deployment.Builder clearName()
       The name of the deployment.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Deployment.Builder setNameBytes(com.google.protobuf.ByteString value)
       The name of the deployment.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getRevisionId

      public String getRevisionId()
       Output only. Immutable. The revision ID of the deployment.
       A new revision is committed whenever a change in deployment is applied.
       
      string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRevisionId in interface DeploymentOrBuilder
      Returns:
      The revisionId.
    • getRevisionIdBytes

      public com.google.protobuf.ByteString getRevisionIdBytes()
       Output only. Immutable. The revision ID of the deployment.
       A new revision is committed whenever a change in deployment is applied.
       
      string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRevisionIdBytes in interface DeploymentOrBuilder
      Returns:
      The bytes for revisionId.
    • setRevisionId

      public Deployment.Builder setRevisionId(String value)
       Output only. Immutable. The revision ID of the deployment.
       A new revision is committed whenever a change in deployment is applied.
       
      string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The revisionId to set.
      Returns:
      This builder for chaining.
    • clearRevisionId

      public Deployment.Builder clearRevisionId()
       Output only. Immutable. The revision ID of the deployment.
       A new revision is committed whenever a change in deployment is applied.
       
      string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setRevisionIdBytes

      public Deployment.Builder setRevisionIdBytes(com.google.protobuf.ByteString value)
       Output only. Immutable. The revision ID of the deployment.
       A new revision is committed whenever a change in deployment is applied.
       
      string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for revisionId to set.
      Returns:
      This builder for chaining.
    • getSourceBlueprintRevision

      public String getSourceBlueprintRevision()
       Required. The blueprint revision from which this deployment was created.
       
      string source_blueprint_revision = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSourceBlueprintRevision in interface DeploymentOrBuilder
      Returns:
      The sourceBlueprintRevision.
    • getSourceBlueprintRevisionBytes

      public com.google.protobuf.ByteString getSourceBlueprintRevisionBytes()
       Required. The blueprint revision from which this deployment was created.
       
      string source_blueprint_revision = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSourceBlueprintRevisionBytes in interface DeploymentOrBuilder
      Returns:
      The bytes for sourceBlueprintRevision.
    • setSourceBlueprintRevision

      public Deployment.Builder setSourceBlueprintRevision(String value)
       Required. The blueprint revision from which this deployment was created.
       
      string source_blueprint_revision = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The sourceBlueprintRevision to set.
      Returns:
      This builder for chaining.
    • clearSourceBlueprintRevision

      public Deployment.Builder clearSourceBlueprintRevision()
       Required. The blueprint revision from which this deployment was created.
       
      string source_blueprint_revision = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setSourceBlueprintRevisionBytes

      public Deployment.Builder setSourceBlueprintRevisionBytes(com.google.protobuf.ByteString value)
       Required. The blueprint revision from which this deployment was created.
       
      string source_blueprint_revision = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for sourceBlueprintRevision to set.
      Returns:
      This builder for chaining.
    • hasRevisionCreateTime

      public boolean hasRevisionCreateTime()
       Output only. The timestamp that the revision was created.
       
      .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasRevisionCreateTime in interface DeploymentOrBuilder
      Returns:
      Whether the revisionCreateTime field is set.
    • getRevisionCreateTime

      public com.google.protobuf.Timestamp getRevisionCreateTime()
       Output only. The timestamp that the revision was created.
       
      .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRevisionCreateTime in interface DeploymentOrBuilder
      Returns:
      The revisionCreateTime.
    • setRevisionCreateTime

      public Deployment.Builder setRevisionCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp that the revision was created.
       
      .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setRevisionCreateTime

      public Deployment.Builder setRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The timestamp that the revision was created.
       
      .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeRevisionCreateTime

      public Deployment.Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp that the revision was created.
       
      .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearRevisionCreateTime

      public Deployment.Builder clearRevisionCreateTime()
       Output only. The timestamp that the revision was created.
       
      .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getRevisionCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getRevisionCreateTimeBuilder()
       Output only. The timestamp that the revision was created.
       
      .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getRevisionCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder()
       Output only. The timestamp that the revision was created.
       
      .google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRevisionCreateTimeOrBuilder in interface DeploymentOrBuilder
    • getStateValue

      public int getStateValue()
       Output only. State of the deployment (DRAFT, APPLIED, DELETING).
       
      .google.cloud.telcoautomation.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface DeploymentOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public Deployment.Builder setStateValue(int value)
       Output only. State of the deployment (DRAFT, APPLIED, DELETING).
       
      .google.cloud.telcoautomation.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public Deployment.State getState()
       Output only. State of the deployment (DRAFT, APPLIED, DELETING).
       
      .google.cloud.telcoautomation.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface DeploymentOrBuilder
      Returns:
      The state.
    • setState

      public Deployment.Builder setState(Deployment.State value)
       Output only. State of the deployment (DRAFT, APPLIED, DELETING).
       
      .google.cloud.telcoautomation.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public Deployment.Builder clearState()
       Output only. State of the deployment (DRAFT, APPLIED, DELETING).
       
      .google.cloud.telcoautomation.v1.Deployment.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Optional. Human readable name of a Deployment.
       
      string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisplayName in interface DeploymentOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Optional. Human readable name of a Deployment.
       
      string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisplayNameBytes in interface DeploymentOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public Deployment.Builder setDisplayName(String value)
       Optional. Human readable name of a Deployment.
       
      string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public Deployment.Builder clearDisplayName()
       Optional. Human readable name of a Deployment.
       
      string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public Deployment.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Optional. Human readable name of a Deployment.
       
      string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getRepository

      public String getRepository()
       Output only. Name of the repository where the deployment package files are
       stored.
       
      string repository = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRepository in interface DeploymentOrBuilder
      Returns:
      The repository.
    • getRepositoryBytes

      public com.google.protobuf.ByteString getRepositoryBytes()
       Output only. Name of the repository where the deployment package files are
       stored.
       
      string repository = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRepositoryBytes in interface DeploymentOrBuilder
      Returns:
      The bytes for repository.
    • setRepository

      public Deployment.Builder setRepository(String value)
       Output only. Name of the repository where the deployment package files are
       stored.
       
      string repository = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The repository to set.
      Returns:
      This builder for chaining.
    • clearRepository

      public Deployment.Builder clearRepository()
       Output only. Name of the repository where the deployment package files are
       stored.
       
      string repository = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setRepositoryBytes

      public Deployment.Builder setRepositoryBytes(com.google.protobuf.ByteString value)
       Output only. Name of the repository where the deployment package files are
       stored.
       
      string repository = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for repository to set.
      Returns:
      This builder for chaining.
    • getFilesList

      public List<File> getFilesList()
       Optional. Files present in a deployment.
       When invoking UpdateDeployment API, only the modified files should be
       included in this. Files that are not included in the update of a deployment
       will not be changed.
       
      repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilesList in interface DeploymentOrBuilder
    • getFilesCount

      public int getFilesCount()
       Optional. Files present in a deployment.
       When invoking UpdateDeployment API, only the modified files should be
       included in this. Files that are not included in the update of a deployment
       will not be changed.
       
      repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilesCount in interface DeploymentOrBuilder
    • getFiles

      public File getFiles(int index)
       Optional. Files present in a deployment.
       When invoking UpdateDeployment API, only the modified files should be
       included in this. Files that are not included in the update of a deployment
       will not be changed.
       
      repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFiles in interface DeploymentOrBuilder
    • setFiles

      public Deployment.Builder setFiles(int index, File value)
       Optional. Files present in a deployment.
       When invoking UpdateDeployment API, only the modified files should be
       included in this. Files that are not included in the update of a deployment
       will not be changed.
       
      repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL];
    • setFiles

      public Deployment.Builder setFiles(int index, File.Builder builderForValue)
       Optional. Files present in a deployment.
       When invoking UpdateDeployment API, only the modified files should be
       included in this. Files that are not included in the update of a deployment
       will not be changed.
       
      repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL];
    • addFiles

      public Deployment.Builder addFiles(File value)
       Optional. Files present in a deployment.
       When invoking UpdateDeployment API, only the modified files should be
       included in this. Files that are not included in the update of a deployment
       will not be changed.
       
      repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL];
    • addFiles

      public Deployment.Builder addFiles(int index, File value)
       Optional. Files present in a deployment.
       When invoking UpdateDeployment API, only the modified files should be
       included in this. Files that are not included in the update of a deployment
       will not be changed.
       
      repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL];
    • addFiles

      public Deployment.Builder addFiles(File.Builder builderForValue)
       Optional. Files present in a deployment.
       When invoking UpdateDeployment API, only the modified files should be
       included in this. Files that are not included in the update of a deployment
       will not be changed.
       
      repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL];
    • addFiles

      public Deployment.Builder addFiles(int index, File.Builder builderForValue)
       Optional. Files present in a deployment.
       When invoking UpdateDeployment API, only the modified files should be
       included in this. Files that are not included in the update of a deployment
       will not be changed.
       
      repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL];
    • addAllFiles

      public Deployment.Builder addAllFiles(Iterable<? extends File> values)
       Optional. Files present in a deployment.
       When invoking UpdateDeployment API, only the modified files should be
       included in this. Files that are not included in the update of a deployment
       will not be changed.
       
      repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL];
    • clearFiles

      public Deployment.Builder clearFiles()
       Optional. Files present in a deployment.
       When invoking UpdateDeployment API, only the modified files should be
       included in this. Files that are not included in the update of a deployment
       will not be changed.
       
      repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL];
    • removeFiles

      public Deployment.Builder removeFiles(int index)
       Optional. Files present in a deployment.
       When invoking UpdateDeployment API, only the modified files should be
       included in this. Files that are not included in the update of a deployment
       will not be changed.
       
      repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getFilesBuilder

      public File.Builder getFilesBuilder(int index)
       Optional. Files present in a deployment.
       When invoking UpdateDeployment API, only the modified files should be
       included in this. Files that are not included in the update of a deployment
       will not be changed.
       
      repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getFilesOrBuilder

      public FileOrBuilder getFilesOrBuilder(int index)
       Optional. Files present in a deployment.
       When invoking UpdateDeployment API, only the modified files should be
       included in this. Files that are not included in the update of a deployment
       will not be changed.
       
      repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilesOrBuilder in interface DeploymentOrBuilder
    • getFilesOrBuilderList

      public List<? extends FileOrBuilder> getFilesOrBuilderList()
       Optional. Files present in a deployment.
       When invoking UpdateDeployment API, only the modified files should be
       included in this. Files that are not included in the update of a deployment
       will not be changed.
       
      repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilesOrBuilderList in interface DeploymentOrBuilder
    • addFilesBuilder

      public File.Builder addFilesBuilder()
       Optional. Files present in a deployment.
       When invoking UpdateDeployment API, only the modified files should be
       included in this. Files that are not included in the update of a deployment
       will not be changed.
       
      repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL];
    • addFilesBuilder

      public File.Builder addFilesBuilder(int index)
       Optional. Files present in a deployment.
       When invoking UpdateDeployment API, only the modified files should be
       included in this. Files that are not included in the update of a deployment
       will not be changed.
       
      repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getFilesBuilderList

      public List<File.Builder> getFilesBuilderList()
       Optional. Files present in a deployment.
       When invoking UpdateDeployment API, only the modified files should be
       included in this. Files that are not included in the update of a deployment
       will not be changed.
       
      repeated .google.cloud.telcoautomation.v1.File files = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: DeploymentOrBuilder
       Optional. Labels are key-value attributes that can be set on a deployment
       resource by the user.
       
      map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface DeploymentOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. Labels are key-value attributes that can be set on a deployment
       resource by the user.
       
      map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface DeploymentOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface DeploymentOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. Labels are key-value attributes that can be set on a deployment
       resource by the user.
       
      map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface DeploymentOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. Labels are key-value attributes that can be set on a deployment
       resource by the user.
       
      map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface DeploymentOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. Labels are key-value attributes that can be set on a deployment
       resource by the user.
       
      map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface DeploymentOrBuilder
    • clearLabels

      public Deployment.Builder clearLabels()
    • removeLabels

      public Deployment.Builder removeLabels(String key)
       Optional. Labels are key-value attributes that can be set on a deployment
       resource by the user.
       
      map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public Deployment.Builder putLabels(String key, String value)
       Optional. Labels are key-value attributes that can be set on a deployment
       resource by the user.
       
      map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public Deployment.Builder putAllLabels(Map<String,String> values)
       Optional. Labels are key-value attributes that can be set on a deployment
       resource by the user.
       
      map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Deployment creation time.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface DeploymentOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Deployment creation time.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface DeploymentOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Deployment.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Deployment creation time.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Deployment.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Deployment creation time.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Deployment.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Deployment creation time.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Deployment.Builder clearCreateTime()
       Output only. Deployment creation time.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. Deployment creation time.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Deployment creation time.
       
      .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface DeploymentOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The timestamp when the deployment was updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface DeploymentOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The timestamp when the deployment was updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface DeploymentOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Deployment.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when the deployment was updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Deployment.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The timestamp when the deployment was updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Deployment.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp when the deployment was updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public Deployment.Builder clearUpdateTime()
       Output only. The timestamp when the deployment was updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The timestamp when the deployment was updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The timestamp when the deployment was updated.
       
      .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface DeploymentOrBuilder
    • getSourceProvider

      public String getSourceProvider()
       Output only. Source provider is the author of a public blueprint, from
       which this deployment is created.
       
      string source_provider = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSourceProvider in interface DeploymentOrBuilder
      Returns:
      The sourceProvider.
    • getSourceProviderBytes

      public com.google.protobuf.ByteString getSourceProviderBytes()
       Output only. Source provider is the author of a public blueprint, from
       which this deployment is created.
       
      string source_provider = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSourceProviderBytes in interface DeploymentOrBuilder
      Returns:
      The bytes for sourceProvider.
    • setSourceProvider

      public Deployment.Builder setSourceProvider(String value)
       Output only. Source provider is the author of a public blueprint, from
       which this deployment is created.
       
      string source_provider = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The sourceProvider to set.
      Returns:
      This builder for chaining.
    • clearSourceProvider

      public Deployment.Builder clearSourceProvider()
       Output only. Source provider is the author of a public blueprint, from
       which this deployment is created.
       
      string source_provider = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setSourceProviderBytes

      public Deployment.Builder setSourceProviderBytes(com.google.protobuf.ByteString value)
       Output only. Source provider is the author of a public blueprint, from
       which this deployment is created.
       
      string source_provider = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for sourceProvider to set.
      Returns:
      This builder for chaining.
    • getWorkloadCluster

      public String getWorkloadCluster()
       Optional. Immutable. The WorkloadCluster on which to create the Deployment.
       This field should only be passed when the deployment_level of the source
       blueprint specifies deployments on workload clusters e.g.
       WORKLOAD_CLUSTER_DEPLOYMENT.
       
      string workload_cluster = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getWorkloadCluster in interface DeploymentOrBuilder
      Returns:
      The workloadCluster.
    • getWorkloadClusterBytes

      public com.google.protobuf.ByteString getWorkloadClusterBytes()
       Optional. Immutable. The WorkloadCluster on which to create the Deployment.
       This field should only be passed when the deployment_level of the source
       blueprint specifies deployments on workload clusters e.g.
       WORKLOAD_CLUSTER_DEPLOYMENT.
       
      string workload_cluster = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getWorkloadClusterBytes in interface DeploymentOrBuilder
      Returns:
      The bytes for workloadCluster.
    • setWorkloadCluster

      public Deployment.Builder setWorkloadCluster(String value)
       Optional. Immutable. The WorkloadCluster on which to create the Deployment.
       This field should only be passed when the deployment_level of the source
       blueprint specifies deployments on workload clusters e.g.
       WORKLOAD_CLUSTER_DEPLOYMENT.
       
      string workload_cluster = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The workloadCluster to set.
      Returns:
      This builder for chaining.
    • clearWorkloadCluster

      public Deployment.Builder clearWorkloadCluster()
       Optional. Immutable. The WorkloadCluster on which to create the Deployment.
       This field should only be passed when the deployment_level of the source
       blueprint specifies deployments on workload clusters e.g.
       WORKLOAD_CLUSTER_DEPLOYMENT.
       
      string workload_cluster = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setWorkloadClusterBytes

      public Deployment.Builder setWorkloadClusterBytes(com.google.protobuf.ByteString value)
       Optional. Immutable. The WorkloadCluster on which to create the Deployment.
       This field should only be passed when the deployment_level of the source
       blueprint specifies deployments on workload clusters e.g.
       WORKLOAD_CLUSTER_DEPLOYMENT.
       
      string workload_cluster = 13 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for workloadCluster to set.
      Returns:
      This builder for chaining.
    • getDeploymentLevelValue

      public int getDeploymentLevelValue()
       Output only. Attributes to where the deployment can inflict changes. The
       value can only be [SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT].
       
      .google.cloud.telcoautomation.v1.DeploymentLevel deployment_level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDeploymentLevelValue in interface DeploymentOrBuilder
      Returns:
      The enum numeric value on the wire for deploymentLevel.
    • setDeploymentLevelValue

      public Deployment.Builder setDeploymentLevelValue(int value)
       Output only. Attributes to where the deployment can inflict changes. The
       value can only be [SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT].
       
      .google.cloud.telcoautomation.v1.DeploymentLevel deployment_level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for deploymentLevel to set.
      Returns:
      This builder for chaining.
    • getDeploymentLevel

      public DeploymentLevel getDeploymentLevel()
       Output only. Attributes to where the deployment can inflict changes. The
       value can only be [SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT].
       
      .google.cloud.telcoautomation.v1.DeploymentLevel deployment_level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDeploymentLevel in interface DeploymentOrBuilder
      Returns:
      The deploymentLevel.
    • setDeploymentLevel

      public Deployment.Builder setDeploymentLevel(DeploymentLevel value)
       Output only. Attributes to where the deployment can inflict changes. The
       value can only be [SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT].
       
      .google.cloud.telcoautomation.v1.DeploymentLevel deployment_level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The deploymentLevel to set.
      Returns:
      This builder for chaining.
    • clearDeploymentLevel

      public Deployment.Builder clearDeploymentLevel()
       Output only. Attributes to where the deployment can inflict changes. The
       value can only be [SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT].
       
      .google.cloud.telcoautomation.v1.DeploymentLevel deployment_level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getRollbackSupport

      public boolean getRollbackSupport()
       Output only. Indicates if the deployment can be rolled back, exported from
       public blueprint.
       
      bool rollback_support = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRollbackSupport in interface DeploymentOrBuilder
      Returns:
      The rollbackSupport.
    • setRollbackSupport

      public Deployment.Builder setRollbackSupport(boolean value)
       Output only. Indicates if the deployment can be rolled back, exported from
       public blueprint.
       
      bool rollback_support = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The rollbackSupport to set.
      Returns:
      This builder for chaining.
    • clearRollbackSupport

      public Deployment.Builder clearRollbackSupport()
       Output only. Indicates if the deployment can be rolled back, exported from
       public blueprint.
       
      bool rollback_support = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.