public final class ReleaseConfig extends GeneratedMessageV3 implements ReleaseConfigOrBuilder
Represents a Dataform release configuration.
Protobuf type google.cloud.dataform.v1beta1.ReleaseConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CODE_COMPILATION_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int CRON_SCHEDULE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int GIT_COMMITISH_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int RECENT_SCHEDULED_RELEASE_RECORDS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int RELEASE_COMPILATION_RESULT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TIME_ZONE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static ReleaseConfig getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static ReleaseConfig.Builder newBuilder()
public static ReleaseConfig.Builder newBuilder(ReleaseConfig )
public static ReleaseConfig parseDelimitedFrom(InputStream input)
public static ReleaseConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReleaseConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static ReleaseConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReleaseConfig parseFrom(ByteString data)
public static ReleaseConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReleaseConfig parseFrom(CodedInputStream input)
public static ReleaseConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReleaseConfig parseFrom(InputStream input)
public static ReleaseConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReleaseConfig parseFrom(ByteBuffer data)
public static ReleaseConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<ReleaseConfig> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overridespublic 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];
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];
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. |
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. |
public ReleaseConfig getDefaultInstanceForType()
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. |
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. |
Output only. The release config's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The name. |
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. |
public Parser<ReleaseConfig> getParserForType()
Overridespublic 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
|
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 | |
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];
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
|
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> | |
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. |
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. |
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overridespublic String getTimeZone()
Returns |
---|
Type | Description |
String | The timeZone. |
public ByteString getTimeZoneBytes()
Returns |
---|
Type | Description |
ByteString | The bytes for timeZone. |
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. |
Returns |
---|
Type | Description |
int | |
Overridesprotected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overridespublic final boolean isInitialized()
Overridespublic ReleaseConfig.Builder newBuilderForType()
protected ReleaseConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overridesprotected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overridespublic ReleaseConfig.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides