Class Blueprint

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.telcoautomation.v1.Blueprint
All Implemented Interfaces:
BlueprintOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Blueprint extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • REVISION_ID_FIELD_NUMBER

      public static final int REVISION_ID_FIELD_NUMBER
      See Also:
    • SOURCE_BLUEPRINT_FIELD_NUMBER

      public static final int SOURCE_BLUEPRINT_FIELD_NUMBER
      See Also:
    • REVISION_CREATE_TIME_FIELD_NUMBER

      public static final int REVISION_CREATE_TIME_FIELD_NUMBER
      See Also:
    • APPROVAL_STATE_FIELD_NUMBER

      public static final int APPROVAL_STATE_FIELD_NUMBER
      See Also:
    • DISPLAY_NAME_FIELD_NUMBER

      public static final int DISPLAY_NAME_FIELD_NUMBER
      See Also:
    • REPOSITORY_FIELD_NUMBER

      public static final int REPOSITORY_FIELD_NUMBER
      See Also:
    • FILES_FIELD_NUMBER

      public static final int FILES_FIELD_NUMBER
      See Also:
    • LABELS_FIELD_NUMBER

      public static final int LABELS_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • UPDATE_TIME_FIELD_NUMBER

      public static final int UPDATE_TIME_FIELD_NUMBER
      See Also:
    • SOURCE_PROVIDER_FIELD_NUMBER

      public static final int SOURCE_PROVIDER_FIELD_NUMBER
      See Also:
    • DEPLOYMENT_LEVEL_FIELD_NUMBER

      public static final int DEPLOYMENT_LEVEL_FIELD_NUMBER
      See Also:
    • ROLLBACK_SUPPORT_FIELD_NUMBER

      public static final int ROLLBACK_SUPPORT_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static Blueprint parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Blueprint parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static Blueprint.Builder newBuilder()
    • newBuilder

      public static Blueprint.Builder newBuilder(Blueprint prototype)
    • toBuilder

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

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

      public static Blueprint getDefaultInstance()
    • parser

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

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

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