Class ReleaseConfig (0.35.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
TypeDescription
int

CRON_SCHEDULE_FIELD_NUMBER

public static final int CRON_SCHEDULE_FIELD_NUMBER
Field Value
TypeDescription
int

GIT_COMMITISH_FIELD_NUMBER

public static final int GIT_COMMITISH_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

RECENT_SCHEDULED_RELEASE_RECORDS_FIELD_NUMBER

public static final int RECENT_SCHEDULED_RELEASE_RECORDS_FIELD_NUMBER
Field Value
TypeDescription
int

RELEASE_COMPILATION_RESULT_FIELD_NUMBER

public static final int RELEASE_COMPILATION_RESULT_FIELD_NUMBER
Field Value
TypeDescription
int

TIME_ZONE_FIELD_NUMBER

public static final int TIME_ZONE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReleaseConfig getDefaultInstance()
Returns
TypeDescription
ReleaseConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ReleaseConfig.Builder newBuilder()
Returns
TypeDescription
ReleaseConfig.Builder

newBuilder(ReleaseConfig prototype)

public static ReleaseConfig.Builder newBuilder(ReleaseConfig prototype)
Parameter
NameDescription
prototypeReleaseConfig
Returns
TypeDescription
ReleaseConfig.Builder

parseDelimitedFrom(InputStream input)

public static ReleaseConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReleaseConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReleaseConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReleaseConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ReleaseConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ReleaseConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReleaseConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReleaseConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReleaseConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ReleaseConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReleaseConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReleaseConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReleaseConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ReleaseConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReleaseConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReleaseConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ReleaseConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReleaseConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReleaseConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReleaseConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ReleaseConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ReleaseConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReleaseConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReleaseConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ReleaseConfig> parser()
Returns
TypeDescription
Parser<ReleaseConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for cronSchedule.

getDefaultInstanceForType()

public ReleaseConfig getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The release config's name.

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

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<ReleaseConfig> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for releaseCompilationResult.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the codeCompilationConfig field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ReleaseConfig.Builder newBuilderForType()
Returns
TypeDescription
ReleaseConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReleaseConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ReleaseConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ReleaseConfig.Builder toBuilder()
Returns
TypeDescription
ReleaseConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException