Class ReleaseConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dataform.v1.ReleaseConfig
All Implemented Interfaces:
ReleaseConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ReleaseConfig extends com.google.protobuf.GeneratedMessage implements ReleaseConfigOrBuilder
 Represents a Dataform release configuration.
 
Protobuf type google.cloud.dataform.v1.ReleaseConfig
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • GIT_COMMITISH_FIELD_NUMBER

      public static final int GIT_COMMITISH_FIELD_NUMBER
      See Also:
    • CODE_COMPILATION_CONFIG_FIELD_NUMBER

      public static final int CODE_COMPILATION_CONFIG_FIELD_NUMBER
      See Also:
    • CRON_SCHEDULE_FIELD_NUMBER

      public static final int CRON_SCHEDULE_FIELD_NUMBER
      See Also:
    • TIME_ZONE_FIELD_NUMBER

      public static final int TIME_ZONE_FIELD_NUMBER
      See Also:
    • RECENT_SCHEDULED_RELEASE_RECORDS_FIELD_NUMBER

      public static final int RECENT_SCHEDULED_RELEASE_RECORDS_FIELD_NUMBER
      See Also:
    • RELEASE_COMPILATION_RESULT_FIELD_NUMBER

      public static final int RELEASE_COMPILATION_RESULT_FIELD_NUMBER
      See Also:
    • DISABLED_FIELD_NUMBER

      public static final int DISABLED_FIELD_NUMBER
      See Also:
    • INTERNAL_METADATA_FIELD_NUMBER

      public static final int INTERNAL_METADATA_FIELD_NUMBER
      See Also:
  • 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
    • getName

      public String getName()
       Identifier. The release config's name.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface ReleaseConfigOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The release config's name.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface ReleaseConfigOrBuilder
      Returns:
      The bytes for name.
    • getGitCommitish

      public String getGitCommitish()
       Required. Git commit/tag/branch name at which the repository should be
       compiled. Must exist in the remote repository. Examples:
       - a commit SHA: `12ade345`
       - a tag: `tag1`
       - a branch name: `branch1`
       
      string git_commitish = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getGitCommitish in interface ReleaseConfigOrBuilder
      Returns:
      The gitCommitish.
    • getGitCommitishBytes

      public com.google.protobuf.ByteString getGitCommitishBytes()
       Required. Git commit/tag/branch name at which the repository should be
       compiled. Must exist in the remote repository. Examples:
       - a commit SHA: `12ade345`
       - a tag: `tag1`
       - a branch name: `branch1`
       
      string git_commitish = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getGitCommitishBytes in interface ReleaseConfigOrBuilder
      Returns:
      The bytes for gitCommitish.
    • hasCodeCompilationConfig

      public boolean hasCodeCompilationConfig()
       Optional. If set, fields of `code_compilation_config` override the default
       compilation settings that are specified in dataform.json.
       
      .google.cloud.dataform.v1.CodeCompilationConfig code_compilation_config = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasCodeCompilationConfig in interface ReleaseConfigOrBuilder
      Returns:
      Whether the codeCompilationConfig field is set.
    • getCodeCompilationConfig

      public CodeCompilationConfig getCodeCompilationConfig()
       Optional. If set, fields of `code_compilation_config` override the default
       compilation settings that are specified in dataform.json.
       
      .google.cloud.dataform.v1.CodeCompilationConfig code_compilation_config = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCodeCompilationConfig in interface ReleaseConfigOrBuilder
      Returns:
      The codeCompilationConfig.
    • getCodeCompilationConfigOrBuilder

      public CodeCompilationConfigOrBuilder getCodeCompilationConfigOrBuilder()
       Optional. If set, fields of `code_compilation_config` override the default
       compilation settings that are specified in dataform.json.
       
      .google.cloud.dataform.v1.CodeCompilationConfig code_compilation_config = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCodeCompilationConfigOrBuilder in interface ReleaseConfigOrBuilder
    • getCronSchedule

      public String getCronSchedule()
       Optional. Optional schedule (in cron format) for automatic creation of
       compilation results.
       
      string cron_schedule = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCronSchedule in interface ReleaseConfigOrBuilder
      Returns:
      The cronSchedule.
    • getCronScheduleBytes

      public com.google.protobuf.ByteString getCronScheduleBytes()
       Optional. Optional schedule (in cron format) for automatic creation of
       compilation results.
       
      string cron_schedule = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCronScheduleBytes in interface ReleaseConfigOrBuilder
      Returns:
      The bytes for cronSchedule.
    • getTimeZone

      public String getTimeZone()
       Optional. Specifies the time zone to be used when interpreting
       cron_schedule. Must be a time zone name from the time zone database
       (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left
       unspecified, the default is UTC.
       
      string time_zone = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTimeZone in interface ReleaseConfigOrBuilder
      Returns:
      The timeZone.
    • getTimeZoneBytes

      public com.google.protobuf.ByteString getTimeZoneBytes()
       Optional. Specifies the time zone to be used when interpreting
       cron_schedule. Must be a time zone name from the time zone database
       (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left
       unspecified, the default is UTC.
       
      string time_zone = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTimeZoneBytes in interface ReleaseConfigOrBuilder
      Returns:
      The bytes for timeZone.
    • getRecentScheduledReleaseRecordsList

      public List<ReleaseConfig.ScheduledReleaseRecord> getRecentScheduledReleaseRecordsList()
       Output only. Records of the 10 most recent scheduled release attempts,
       ordered in descending order of `release_time`. Updated whenever automatic
       creation of a compilation result is triggered by cron_schedule.
       
      repeated .google.cloud.dataform.v1.ReleaseConfig.ScheduledReleaseRecord recent_scheduled_release_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRecentScheduledReleaseRecordsList in interface ReleaseConfigOrBuilder
    • getRecentScheduledReleaseRecordsOrBuilderList

      public List<? extends ReleaseConfig.ScheduledReleaseRecordOrBuilder> getRecentScheduledReleaseRecordsOrBuilderList()
       Output only. Records of the 10 most recent scheduled release attempts,
       ordered in descending order of `release_time`. Updated whenever automatic
       creation of a compilation result is triggered by cron_schedule.
       
      repeated .google.cloud.dataform.v1.ReleaseConfig.ScheduledReleaseRecord recent_scheduled_release_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRecentScheduledReleaseRecordsOrBuilderList in interface ReleaseConfigOrBuilder
    • getRecentScheduledReleaseRecordsCount

      public int getRecentScheduledReleaseRecordsCount()
       Output only. Records of the 10 most recent scheduled release attempts,
       ordered in descending order of `release_time`. Updated whenever automatic
       creation of a compilation result is triggered by cron_schedule.
       
      repeated .google.cloud.dataform.v1.ReleaseConfig.ScheduledReleaseRecord recent_scheduled_release_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRecentScheduledReleaseRecordsCount in interface ReleaseConfigOrBuilder
    • getRecentScheduledReleaseRecords

      public ReleaseConfig.ScheduledReleaseRecord getRecentScheduledReleaseRecords(int index)
       Output only. Records of the 10 most recent scheduled release attempts,
       ordered in descending order of `release_time`. Updated whenever automatic
       creation of a compilation result is triggered by cron_schedule.
       
      repeated .google.cloud.dataform.v1.ReleaseConfig.ScheduledReleaseRecord recent_scheduled_release_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRecentScheduledReleaseRecords in interface ReleaseConfigOrBuilder
    • getRecentScheduledReleaseRecordsOrBuilder

      public ReleaseConfig.ScheduledReleaseRecordOrBuilder getRecentScheduledReleaseRecordsOrBuilder(int index)
       Output only. Records of the 10 most recent scheduled release attempts,
       ordered in descending order of `release_time`. Updated whenever automatic
       creation of a compilation result is triggered by cron_schedule.
       
      repeated .google.cloud.dataform.v1.ReleaseConfig.ScheduledReleaseRecord recent_scheduled_release_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRecentScheduledReleaseRecordsOrBuilder in interface ReleaseConfigOrBuilder
    • getReleaseCompilationResult

      public String getReleaseCompilationResult()
       Optional. The name of the currently released compilation result for this
       release config. This value is updated when a compilation result is
       automatically created from this release config (using cron_schedule), or
       when this resource is updated by API call (perhaps to roll back to an
       earlier release). The compilation result must have been created using this
       release config. Must be in the format
       `projects/*/locations/*/repositories/*/compilationResults/*`.
       
      string release_compilation_result = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getReleaseCompilationResult in interface ReleaseConfigOrBuilder
      Returns:
      The releaseCompilationResult.
    • getReleaseCompilationResultBytes

      public com.google.protobuf.ByteString getReleaseCompilationResultBytes()
       Optional. The name of the currently released compilation result for this
       release config. This value is updated when a compilation result is
       automatically created from this release config (using cron_schedule), or
       when this resource is updated by API call (perhaps to roll back to an
       earlier release). The compilation result must have been created using this
       release config. Must be in the format
       `projects/*/locations/*/repositories/*/compilationResults/*`.
       
      string release_compilation_result = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getReleaseCompilationResultBytes in interface ReleaseConfigOrBuilder
      Returns:
      The bytes for releaseCompilationResult.
    • getDisabled

      public boolean getDisabled()
       Optional. Disables automatic creation of compilation results.
       
      bool disabled = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisabled in interface ReleaseConfigOrBuilder
      Returns:
      The disabled.
    • hasInternalMetadata

      public boolean hasInternalMetadata()
       Output only. All the metadata information that is used internally to serve
       the resource. For example: timestamps, flags, status fields, etc. The
       format of this field is a JSON string.
       
      optional string internal_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasInternalMetadata in interface ReleaseConfigOrBuilder
      Returns:
      Whether the internalMetadata field is set.
    • getInternalMetadata

      public String getInternalMetadata()
       Output only. All the metadata information that is used internally to serve
       the resource. For example: timestamps, flags, status fields, etc. The
       format of this field is a JSON string.
       
      optional string internal_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInternalMetadata in interface ReleaseConfigOrBuilder
      Returns:
      The internalMetadata.
    • getInternalMetadataBytes

      public com.google.protobuf.ByteString getInternalMetadataBytes()
       Output only. All the metadata information that is used internally to serve
       the resource. For example: timestamps, flags, status fields, etc. The
       format of this field is a JSON string.
       
      optional string internal_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInternalMetadataBytes in interface ReleaseConfigOrBuilder
      Returns:
      The bytes for internalMetadata.
    • 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 ReleaseConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ReleaseConfig.Builder newBuilder()
    • newBuilder

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

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

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

      public static ReleaseConfig getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<ReleaseConfig> 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 ReleaseConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder