Class ReleaseConfig (0.43.0)

public final class ReleaseConfig extends GeneratedMessageV3 implements ReleaseConfigOrBuilder

Represents a Dataform release configuration.

Protobuf type google.cloud.dataform.v1beta1.ReleaseConfig

Static Fields

CODE_COMPILATION_CONFIG_FIELD_NUMBER

public static final int CODE_COMPILATION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

CRON_SCHEDULE_FIELD_NUMBER

public static final int CRON_SCHEDULE_FIELD_NUMBER
Field Value
Type Description
int

GIT_COMMITISH_FIELD_NUMBER

public static final int GIT_COMMITISH_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

RECENT_SCHEDULED_RELEASE_RECORDS_FIELD_NUMBER

public static final int RECENT_SCHEDULED_RELEASE_RECORDS_FIELD_NUMBER
Field Value
Type Description
int

RELEASE_COMPILATION_RESULT_FIELD_NUMBER

public static final int RELEASE_COMPILATION_RESULT_FIELD_NUMBER
Field Value
Type Description
int

TIME_ZONE_FIELD_NUMBER

public static final int TIME_ZONE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ReleaseConfig getDefaultInstance()
Returns
Type Description
ReleaseConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ReleaseConfig.Builder newBuilder()
Returns
Type Description
ReleaseConfig.Builder

newBuilder(ReleaseConfig prototype)

public static ReleaseConfig.Builder newBuilder(ReleaseConfig prototype)
Parameter
Name Description
prototype ReleaseConfig
Returns
Type Description
ReleaseConfig.Builder

parseDelimitedFrom(InputStream input)

public static ReleaseConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReleaseConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReleaseConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReleaseConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ReleaseConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ReleaseConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReleaseConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReleaseConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReleaseConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ReleaseConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReleaseConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReleaseConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReleaseConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ReleaseConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReleaseConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReleaseConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ReleaseConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReleaseConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReleaseConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReleaseConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ReleaseConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ReleaseConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReleaseConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReleaseConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ReleaseConfig> parser()
Returns
Type Description
Parser<ReleaseConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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.v1beta1.CodeCompilationConfig code_compilation_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CodeCompilationConfig

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.v1beta1.CodeCompilationConfig code_compilation_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CodeCompilationConfigOrBuilder

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

Returns
Type Description
String

The cronSchedule.

getCronScheduleBytes()

public 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.

getDefaultInstanceForType()

public ReleaseConfig getDefaultInstanceForType()
Returns
Type Description
ReleaseConfig

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

Returns
Type Description
String

The gitCommitish.

getGitCommitishBytes()

public 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 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 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.

getParserForType()

public Parser<ReleaseConfig> getParserForType()
Returns
Type Description
Parser<ReleaseConfig>
Overrides

getRecentScheduledReleaseRecords(int index)

public 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 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 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 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 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 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 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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

Returns
Type Description
String

The timeZone.

getTimeZoneBytes()

public 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 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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ReleaseConfig.Builder newBuilderForType()
Returns
Type Description
ReleaseConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReleaseConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReleaseConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ReleaseConfig.Builder toBuilder()
Returns
Type Description
ReleaseConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException