Package com.google.cloud.dataform.v1
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents a Dataform release configuration.static final classA record of an attempt to create a compilation result for this release config.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.Optional.Optional.com.google.protobuf.ByteStringOptional.static ReleaseConfigstatic final com.google.protobuf.Descriptors.DescriptorbooleanOptional.Required.com.google.protobuf.ByteStringRequired.Output only.com.google.protobuf.ByteStringOutput only.getName()Identifier.com.google.protobuf.ByteStringIdentifier.com.google.protobuf.Parser<ReleaseConfig>getRecentScheduledReleaseRecords(int index) Output only.intOutput only.Output only.getRecentScheduledReleaseRecordsOrBuilder(int index) Output only.Output only.Optional.com.google.protobuf.ByteStringOptional.intOptional.com.google.protobuf.ByteStringOptional.booleanOptional.inthashCode()booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic ReleaseConfig.Builderstatic ReleaseConfig.BuildernewBuilder(ReleaseConfig prototype) protected ReleaseConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ReleaseConfigparseDelimitedFrom(InputStream input) static ReleaseConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReleaseConfigparseFrom(byte[] data) static ReleaseConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReleaseConfigparseFrom(com.google.protobuf.ByteString data) static ReleaseConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReleaseConfigparseFrom(com.google.protobuf.CodedInputStream input) static ReleaseConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReleaseConfigparseFrom(InputStream input) static ReleaseConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReleaseConfigparseFrom(ByteBuffer data) static ReleaseConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ReleaseConfig>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
Identifier. The release config's name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceReleaseConfigOrBuilder- 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:
getNameBytesin interfaceReleaseConfigOrBuilder- Returns:
- The bytes for name.
-
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:
getGitCommitishin interfaceReleaseConfigOrBuilder- 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:
getGitCommitishBytesin interfaceReleaseConfigOrBuilder- 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:
hasCodeCompilationConfigin interfaceReleaseConfigOrBuilder- Returns:
- Whether the codeCompilationConfig field is set.
-
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:
getCodeCompilationConfigin interfaceReleaseConfigOrBuilder- Returns:
- The codeCompilationConfig.
-
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:
getCodeCompilationConfigOrBuilderin interfaceReleaseConfigOrBuilder
-
getCronSchedule
Optional. Optional schedule (in cron format) for automatic creation of compilation results.
string cron_schedule = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCronSchedulein interfaceReleaseConfigOrBuilder- 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:
getCronScheduleBytesin interfaceReleaseConfigOrBuilder- Returns:
- The bytes for cronSchedule.
-
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:
getTimeZonein interfaceReleaseConfigOrBuilder- 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:
getTimeZoneBytesin interfaceReleaseConfigOrBuilder- Returns:
- The bytes for timeZone.
-
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:
getRecentScheduledReleaseRecordsListin interfaceReleaseConfigOrBuilder
-
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:
getRecentScheduledReleaseRecordsOrBuilderListin interfaceReleaseConfigOrBuilder
-
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:
getRecentScheduledReleaseRecordsCountin interfaceReleaseConfigOrBuilder
-
getRecentScheduledReleaseRecords
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:
getRecentScheduledReleaseRecordsin interfaceReleaseConfigOrBuilder
-
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:
getRecentScheduledReleaseRecordsOrBuilderin interfaceReleaseConfigOrBuilder
-
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:
getReleaseCompilationResultin interfaceReleaseConfigOrBuilder- 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:
getReleaseCompilationResultBytesin interfaceReleaseConfigOrBuilder- 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:
getDisabledin interfaceReleaseConfigOrBuilder- 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:
hasInternalMetadatain interfaceReleaseConfigOrBuilder- Returns:
- Whether the internalMetadata field is set.
-
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:
getInternalMetadatain interfaceReleaseConfigOrBuilder- 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:
getInternalMetadataBytesin interfaceReleaseConfigOrBuilder- Returns:
- The bytes for internalMetadata.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static ReleaseConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ReleaseConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-