Interface ReleaseConfigOrBuilder (0.41.0)

public interface ReleaseConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCodeCompilationConfig()

public abstract CodeCompilationConfig getCodeCompilationConfig()

Optional. If set, fields of code_compilation_config override the default compilation settings that are specified in dataform.json.

.google.cloud.dataform.v1beta1.CodeCompilationConfig code_compilation_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CodeCompilationConfig

The codeCompilationConfig.

getCodeCompilationConfigOrBuilder()

public abstract CodeCompilationConfigOrBuilder getCodeCompilationConfigOrBuilder()

Optional. If set, fields of code_compilation_config override the default compilation settings that are specified in dataform.json.

.google.cloud.dataform.v1beta1.CodeCompilationConfig code_compilation_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CodeCompilationConfigOrBuilder

getCronSchedule()

public abstract String getCronSchedule()

Optional. Optional schedule (in cron format) for automatic creation of compilation results.

string cron_schedule = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The cronSchedule.

getCronScheduleBytes()

public abstract ByteString getCronScheduleBytes()

Optional. Optional schedule (in cron format) for automatic creation of compilation results.

string cron_schedule = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for cronSchedule.

getGitCommitish()

public abstract 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];

Returns
Type Description
String

The gitCommitish.

getGitCommitishBytes()

public abstract 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];

Returns
Type Description
ByteString

The bytes for gitCommitish.

getName()

public abstract String getName()

Output only. The release config's name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The release config's name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getRecentScheduledReleaseRecords(int index)

public abstract ReleaseConfig.ScheduledReleaseRecord getRecentScheduledReleaseRecords(int index)

Output only. Records of the 10 most recent scheduled release attempts, ordered in in descending order of release_time. Updated whenever automatic creation of a compilation result is triggered by cron_schedule.

repeated .google.cloud.dataform.v1beta1.ReleaseConfig.ScheduledReleaseRecord recent_scheduled_release_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ReleaseConfig.ScheduledReleaseRecord

getRecentScheduledReleaseRecordsCount()

public abstract int getRecentScheduledReleaseRecordsCount()

Output only. Records of the 10 most recent scheduled release attempts, ordered in in descending order of release_time. Updated whenever automatic creation of a compilation result is triggered by cron_schedule.

repeated .google.cloud.dataform.v1beta1.ReleaseConfig.ScheduledReleaseRecord recent_scheduled_release_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getRecentScheduledReleaseRecordsList()

public abstract List<ReleaseConfig.ScheduledReleaseRecord> getRecentScheduledReleaseRecordsList()

Output only. Records of the 10 most recent scheduled release attempts, ordered in in descending order of release_time. Updated whenever automatic creation of a compilation result is triggered by cron_schedule.

repeated .google.cloud.dataform.v1beta1.ReleaseConfig.ScheduledReleaseRecord recent_scheduled_release_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<ScheduledReleaseRecord>

getRecentScheduledReleaseRecordsOrBuilder(int index)

public abstract ReleaseConfig.ScheduledReleaseRecordOrBuilder getRecentScheduledReleaseRecordsOrBuilder(int index)

Output only. Records of the 10 most recent scheduled release attempts, ordered in in descending order of release_time. Updated whenever automatic creation of a compilation result is triggered by cron_schedule.

repeated .google.cloud.dataform.v1beta1.ReleaseConfig.ScheduledReleaseRecord recent_scheduled_release_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ReleaseConfig.ScheduledReleaseRecordOrBuilder

getRecentScheduledReleaseRecordsOrBuilderList()

public abstract List<? extends ReleaseConfig.ScheduledReleaseRecordOrBuilder> getRecentScheduledReleaseRecordsOrBuilderList()

Output only. Records of the 10 most recent scheduled release attempts, ordered in in descending order of release_time. Updated whenever automatic creation of a compilation result is triggered by cron_schedule.

repeated .google.cloud.dataform.v1beta1.ReleaseConfig.ScheduledReleaseRecord recent_scheduled_release_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.dataform.v1beta1.ReleaseConfig.ScheduledReleaseRecordOrBuilder>

getReleaseCompilationResult()

public abstract String getReleaseCompilationResult()

Optional. The name of the currently released compilation result for this release config. This value is updated when a compilation result is created from this release config, 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) = { ... }

Returns
Type Description
String

The releaseCompilationResult.

getReleaseCompilationResultBytes()

public abstract ByteString getReleaseCompilationResultBytes()

Optional. The name of the currently released compilation result for this release config. This value is updated when a compilation result is created from this release config, 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) = { ... }

Returns
Type Description
ByteString

The bytes for releaseCompilationResult.

getTimeZone()

public abstract 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];

Returns
Type Description
String

The timeZone.

getTimeZoneBytes()

public abstract 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];

Returns
Type Description
ByteString

The bytes for timeZone.

hasCodeCompilationConfig()

public abstract boolean hasCodeCompilationConfig()

Optional. If set, fields of code_compilation_config override the default compilation settings that are specified in dataform.json.

.google.cloud.dataform.v1beta1.CodeCompilationConfig code_compilation_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the codeCompilationConfig field is set.