Class Blueprint.Builder

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

public static final class Blueprint.Builder extends com.google.protobuf.GeneratedMessage.Builder<Blueprint.Builder> implements BlueprintOrBuilder
 A Blueprint contains a collection of kubernetes resources in the form of
 YAML files. The file contents of a blueprint are collectively known as
 package. A blueprint can be
 a) imported from TNA's public catalog
 b) modified as per a user's need
 c) proposed and approved.
 On approval, a revision of blueprint is created which can be used to
 create a deployment on Orchestration or Workload Cluster.
 
Protobuf type google.cloud.telcoautomation.v1.Blueprint
  • 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<Blueprint.Builder>
    • internalGetMutableMapFieldReflection

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

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

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

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

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

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

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

      public Blueprint.Builder mergeFrom(Blueprint other)
    • isInitialized

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

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

      public String getName()
       The name of the blueprint. If unspecified, the name will be autogenerated
       from server side. Name of the blueprint must not contain `@` character.
       
      string name = 1;
      Specified by:
      getName in interface BlueprintOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of the blueprint. If unspecified, the name will be autogenerated
       from server side. Name of the blueprint must not contain `@` character.
       
      string name = 1;
      Specified by:
      getNameBytes in interface BlueprintOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Blueprint.Builder setName(String value)
       The name of the blueprint. If unspecified, the name will be autogenerated
       from server side. Name of the blueprint must not contain `@` character.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Blueprint.Builder clearName()
       The name of the blueprint. If unspecified, the name will be autogenerated
       from server side. Name of the blueprint must not contain `@` character.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Blueprint.Builder setNameBytes(com.google.protobuf.ByteString value)
       The name of the blueprint. If unspecified, the name will be autogenerated
       from server side. Name of the blueprint must not contain `@` character.
       
      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 blueprint.
       A new revision is committed whenever a blueprint is approved.
       
      string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRevisionId in interface BlueprintOrBuilder
      Returns:
      The revisionId.
    • getRevisionIdBytes

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

      public Blueprint.Builder setRevisionId(String value)
       Output only. Immutable. The revision ID of the blueprint.
       A new revision is committed whenever a blueprint is approved.
       
      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 Blueprint.Builder clearRevisionId()
       Output only. Immutable. The revision ID of the blueprint.
       A new revision is committed whenever a blueprint is approved.
       
      string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setRevisionIdBytes

      public Blueprint.Builder setRevisionIdBytes(com.google.protobuf.ByteString value)
       Output only. Immutable. The revision ID of the blueprint.
       A new revision is committed whenever a blueprint is approved.
       
      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.
    • getSourceBlueprint

      public String getSourceBlueprint()
       Required. Immutable. The public blueprint ID from which this blueprint was
       created.
       
      string source_blueprint = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getSourceBlueprint in interface BlueprintOrBuilder
      Returns:
      The sourceBlueprint.
    • getSourceBlueprintBytes

      public com.google.protobuf.ByteString getSourceBlueprintBytes()
       Required. Immutable. The public blueprint ID from which this blueprint was
       created.
       
      string source_blueprint = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getSourceBlueprintBytes in interface BlueprintOrBuilder
      Returns:
      The bytes for sourceBlueprint.
    • setSourceBlueprint

      public Blueprint.Builder setSourceBlueprint(String value)
       Required. Immutable. The public blueprint ID from which this blueprint was
       created.
       
      string source_blueprint = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The sourceBlueprint to set.
      Returns:
      This builder for chaining.
    • clearSourceBlueprint

      public Blueprint.Builder clearSourceBlueprint()
       Required. Immutable. The public blueprint ID from which this blueprint was
       created.
       
      string source_blueprint = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • setSourceBlueprintBytes

      public Blueprint.Builder setSourceBlueprintBytes(com.google.protobuf.ByteString value)
       Required. Immutable. The public blueprint ID from which this blueprint was
       created.
       
      string source_blueprint = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The bytes for sourceBlueprint 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 = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasRevisionCreateTime in interface BlueprintOrBuilder
      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 = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRevisionCreateTime in interface BlueprintOrBuilder
      Returns:
      The revisionCreateTime.
    • setRevisionCreateTime

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

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

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

      public Blueprint.Builder clearRevisionCreateTime()
       Output only. The timestamp that the revision was created.
       
      .google.protobuf.Timestamp revision_create_time = 5 [(.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 = 5 [(.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 = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRevisionCreateTimeOrBuilder in interface BlueprintOrBuilder
    • getApprovalStateValue

      public int getApprovalStateValue()
       Output only. Approval state of the blueprint (DRAFT, PROPOSED, APPROVED)
       
      .google.cloud.telcoautomation.v1.Blueprint.ApprovalState approval_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getApprovalStateValue in interface BlueprintOrBuilder
      Returns:
      The enum numeric value on the wire for approvalState.
    • setApprovalStateValue

      public Blueprint.Builder setApprovalStateValue(int value)
       Output only. Approval state of the blueprint (DRAFT, PROPOSED, APPROVED)
       
      .google.cloud.telcoautomation.v1.Blueprint.ApprovalState approval_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for approvalState to set.
      Returns:
      This builder for chaining.
    • getApprovalState

      public Blueprint.ApprovalState getApprovalState()
       Output only. Approval state of the blueprint (DRAFT, PROPOSED, APPROVED)
       
      .google.cloud.telcoautomation.v1.Blueprint.ApprovalState approval_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getApprovalState in interface BlueprintOrBuilder
      Returns:
      The approvalState.
    • setApprovalState

      public Blueprint.Builder setApprovalState(Blueprint.ApprovalState value)
       Output only. Approval state of the blueprint (DRAFT, PROPOSED, APPROVED)
       
      .google.cloud.telcoautomation.v1.Blueprint.ApprovalState approval_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The approvalState to set.
      Returns:
      This builder for chaining.
    • clearApprovalState

      public Blueprint.Builder clearApprovalState()
       Output only. Approval state of the blueprint (DRAFT, PROPOSED, APPROVED)
       
      .google.cloud.telcoautomation.v1.Blueprint.ApprovalState approval_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getDisplayName

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

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

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

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

      public Blueprint.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Optional. Human readable name of a Blueprint.
       
      string display_name = 7 [(.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 blueprint files are stored.
       
      string repository = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRepository in interface BlueprintOrBuilder
      Returns:
      The repository.
    • getRepositoryBytes

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

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

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

      public Blueprint.Builder setRepositoryBytes(com.google.protobuf.ByteString value)
       Output only. Name of the repository where the blueprint files are stored.
       
      string repository = 8 [(.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 blueprint.
       When invoking UpdateBlueprint API, only the modified files should be
       included in this. Files that are not included in the update of a blueprint
       will not be changed.
       
      repeated .google.cloud.telcoautomation.v1.File files = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilesList in interface BlueprintOrBuilder
    • getFilesCount

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public Blueprint.Builder clearLabels()
    • removeLabels

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public int getDeploymentLevelValue()
       Output only. DeploymentLevel of a blueprint signifies where the blueprint
       will be applied. e.g. [HYDRATION, SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT]
       
      .google.cloud.telcoautomation.v1.DeploymentLevel deployment_level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDeploymentLevelValue in interface BlueprintOrBuilder
      Returns:
      The enum numeric value on the wire for deploymentLevel.
    • setDeploymentLevelValue

      public Blueprint.Builder setDeploymentLevelValue(int value)
       Output only. DeploymentLevel of a blueprint signifies where the blueprint
       will be applied. e.g. [HYDRATION, 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. DeploymentLevel of a blueprint signifies where the blueprint
       will be applied. e.g. [HYDRATION, SINGLE_DEPLOYMENT, MULTI_DEPLOYMENT]
       
      .google.cloud.telcoautomation.v1.DeploymentLevel deployment_level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDeploymentLevel in interface BlueprintOrBuilder
      Returns:
      The deploymentLevel.
    • setDeploymentLevel

      public Blueprint.Builder setDeploymentLevel(DeploymentLevel value)
       Output only. DeploymentLevel of a blueprint signifies where the blueprint
       will be applied. e.g. [HYDRATION, 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 Blueprint.Builder clearDeploymentLevel()
       Output only. DeploymentLevel of a blueprint signifies where the blueprint
       will be applied. e.g. [HYDRATION, 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 created from this blueprint can be
       rolled back.
       
      bool rollback_support = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRollbackSupport in interface BlueprintOrBuilder
      Returns:
      The rollbackSupport.
    • setRollbackSupport

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

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