Class HydratedDeployment.Builder

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

public static final class HydratedDeployment.Builder extends com.google.protobuf.GeneratedMessage.Builder<HydratedDeployment.Builder> implements HydratedDeploymentOrBuilder
 A collection of kubernetes yaml files which are deployed on a Workload
 Cluster. Hydrated Deployments are created by TNA intent based automation.
 
Protobuf type google.cloud.telcoautomation.v1.HydratedDeployment
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<HydratedDeployment.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<HydratedDeployment.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<HydratedDeployment.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public String getName()
       Output only. The name of the hydrated deployment.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface HydratedDeploymentOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. The name of the hydrated deployment.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface HydratedDeploymentOrBuilder
      Returns:
      The bytes for name.
    • setName

      public HydratedDeployment.Builder setName(String value)
       Output only. The name of the hydrated deployment.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public HydratedDeployment.Builder clearName()
       Output only. The name of the hydrated deployment.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNameBytes

      public HydratedDeployment.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. The name of the hydrated deployment.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getStateValue

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

      public HydratedDeployment.Builder setStateValue(int value)
       Output only. State of the hydrated deployment (DRAFT, APPLIED).
       
      .google.cloud.telcoautomation.v1.HydratedDeployment.State state = 2 [(.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 HydratedDeployment.State getState()
       Output only. State of the hydrated deployment (DRAFT, APPLIED).
       
      .google.cloud.telcoautomation.v1.HydratedDeployment.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface HydratedDeploymentOrBuilder
      Returns:
      The state.
    • setState

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public String getWorkloadCluster()
       Output only. WorkloadCluster identifies which workload cluster will the
       hydrated deployment will be deployed on.
       
      string workload_cluster = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getWorkloadCluster in interface HydratedDeploymentOrBuilder
      Returns:
      The workloadCluster.
    • getWorkloadClusterBytes

      public com.google.protobuf.ByteString getWorkloadClusterBytes()
       Output only. WorkloadCluster identifies which workload cluster will the
       hydrated deployment will be deployed on.
       
      string workload_cluster = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getWorkloadClusterBytes in interface HydratedDeploymentOrBuilder
      Returns:
      The bytes for workloadCluster.
    • setWorkloadCluster

      public HydratedDeployment.Builder setWorkloadCluster(String value)
       Output only. WorkloadCluster identifies which workload cluster will the
       hydrated deployment will be deployed on.
       
      string workload_cluster = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The workloadCluster to set.
      Returns:
      This builder for chaining.
    • clearWorkloadCluster

      public HydratedDeployment.Builder clearWorkloadCluster()
       Output only. WorkloadCluster identifies which workload cluster will the
       hydrated deployment will be deployed on.
       
      string workload_cluster = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setWorkloadClusterBytes

      public HydratedDeployment.Builder setWorkloadClusterBytes(com.google.protobuf.ByteString value)
       Output only. WorkloadCluster identifies which workload cluster will the
       hydrated deployment will be deployed on.
       
      string workload_cluster = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for workloadCluster to set.
      Returns:
      This builder for chaining.