Package com.google.cloud.dataform.v1
Class WorkflowConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dataform.v1.WorkflowConfig
- All Implemented Interfaces:
WorkflowConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class WorkflowConfig
extends com.google.protobuf.GeneratedMessage
implements WorkflowConfigOrBuilder
Represents a Dataform workflow configuration.Protobuf type
google.cloud.dataform.v1.WorkflowConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents a Dataform workflow configuration.static final classA record of an attempt to create a workflow invocation for this workflow 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 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 TypeMethodDescriptionbooleancom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.static WorkflowConfigstatic final com.google.protobuf.Descriptors.DescriptorbooleanOptional.Output only.com.google.protobuf.ByteStringOutput only.Optional.Optional.getName()Identifier.com.google.protobuf.ByteStringIdentifier.com.google.protobuf.Parser<WorkflowConfig>getRecentScheduledExecutionRecords(int index) Output only.intOutput only.Output only.getRecentScheduledExecutionRecordsOrBuilder(int index) Output only.Output only.Required.com.google.protobuf.ByteStringRequired.intOptional.com.google.protobuf.ByteStringOptional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.inthashCode()booleanOutput only.booleanOptional.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic WorkflowConfig.Builderstatic WorkflowConfig.BuildernewBuilder(WorkflowConfig prototype) protected WorkflowConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static WorkflowConfigparseDelimitedFrom(InputStream input) static WorkflowConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WorkflowConfigparseFrom(byte[] data) static WorkflowConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WorkflowConfigparseFrom(com.google.protobuf.ByteString data) static WorkflowConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WorkflowConfigparseFrom(com.google.protobuf.CodedInputStream input) static WorkflowConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WorkflowConfigparseFrom(InputStream input) static WorkflowConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static WorkflowConfigparseFrom(ByteBuffer data) static WorkflowConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<WorkflowConfig>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:
-
RELEASE_CONFIG_FIELD_NUMBER
public static final int RELEASE_CONFIG_FIELD_NUMBER- See Also:
-
INVOCATION_CONFIG_FIELD_NUMBER
public static final int INVOCATION_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_EXECUTION_RECORDS_FIELD_NUMBER
public static final int RECENT_SCHEDULED_EXECUTION_RECORDS_FIELD_NUMBER- See Also:
-
DISABLED_FIELD_NUMBER
public static final int DISABLED_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_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 workflow config's name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceWorkflowConfigOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. The workflow config's name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceWorkflowConfigOrBuilder- Returns:
- The bytes for name.
-
getReleaseConfig
Required. The name of the release config whose release_compilation_result should be executed. Must be in the format `projects/*/locations/*/repositories/*/releaseConfigs/*`.
string release_config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getReleaseConfigin interfaceWorkflowConfigOrBuilder- Returns:
- The releaseConfig.
-
getReleaseConfigBytes
public com.google.protobuf.ByteString getReleaseConfigBytes()Required. The name of the release config whose release_compilation_result should be executed. Must be in the format `projects/*/locations/*/repositories/*/releaseConfigs/*`.
string release_config = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getReleaseConfigBytesin interfaceWorkflowConfigOrBuilder- Returns:
- The bytes for releaseConfig.
-
hasInvocationConfig
public boolean hasInvocationConfig()Optional. If left unset, a default InvocationConfig will be used.
.google.cloud.dataform.v1.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasInvocationConfigin interfaceWorkflowConfigOrBuilder- Returns:
- Whether the invocationConfig field is set.
-
getInvocationConfig
Optional. If left unset, a default InvocationConfig will be used.
.google.cloud.dataform.v1.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInvocationConfigin interfaceWorkflowConfigOrBuilder- Returns:
- The invocationConfig.
-
getInvocationConfigOrBuilder
Optional. If left unset, a default InvocationConfig will be used.
.google.cloud.dataform.v1.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInvocationConfigOrBuilderin interfaceWorkflowConfigOrBuilder
-
getCronSchedule
Optional. Optional schedule (in cron format) for automatic execution of this workflow config.
string cron_schedule = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCronSchedulein interfaceWorkflowConfigOrBuilder- Returns:
- The cronSchedule.
-
getCronScheduleBytes
public com.google.protobuf.ByteString getCronScheduleBytes()Optional. Optional schedule (in cron format) for automatic execution of this workflow config.
string cron_schedule = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getCronScheduleBytesin interfaceWorkflowConfigOrBuilder- 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 interfaceWorkflowConfigOrBuilder- 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 interfaceWorkflowConfigOrBuilder- Returns:
- The bytes for timeZone.
-
getRecentScheduledExecutionRecordsList
Output only. Records of the 10 most recent scheduled execution attempts, ordered in descending order of `execution_time`. Updated whenever automatic creation of a workflow invocation is triggered by cron_schedule.
repeated .google.cloud.dataform.v1.WorkflowConfig.ScheduledExecutionRecord recent_scheduled_execution_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRecentScheduledExecutionRecordsListin interfaceWorkflowConfigOrBuilder
-
getRecentScheduledExecutionRecordsOrBuilderList
public List<? extends WorkflowConfig.ScheduledExecutionRecordOrBuilder> getRecentScheduledExecutionRecordsOrBuilderList()Output only. Records of the 10 most recent scheduled execution attempts, ordered in descending order of `execution_time`. Updated whenever automatic creation of a workflow invocation is triggered by cron_schedule.
repeated .google.cloud.dataform.v1.WorkflowConfig.ScheduledExecutionRecord recent_scheduled_execution_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRecentScheduledExecutionRecordsOrBuilderListin interfaceWorkflowConfigOrBuilder
-
getRecentScheduledExecutionRecordsCount
public int getRecentScheduledExecutionRecordsCount()Output only. Records of the 10 most recent scheduled execution attempts, ordered in descending order of `execution_time`. Updated whenever automatic creation of a workflow invocation is triggered by cron_schedule.
repeated .google.cloud.dataform.v1.WorkflowConfig.ScheduledExecutionRecord recent_scheduled_execution_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRecentScheduledExecutionRecordsCountin interfaceWorkflowConfigOrBuilder
-
getRecentScheduledExecutionRecords
Output only. Records of the 10 most recent scheduled execution attempts, ordered in descending order of `execution_time`. Updated whenever automatic creation of a workflow invocation is triggered by cron_schedule.
repeated .google.cloud.dataform.v1.WorkflowConfig.ScheduledExecutionRecord recent_scheduled_execution_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRecentScheduledExecutionRecordsin interfaceWorkflowConfigOrBuilder
-
getRecentScheduledExecutionRecordsOrBuilder
public WorkflowConfig.ScheduledExecutionRecordOrBuilder getRecentScheduledExecutionRecordsOrBuilder(int index) Output only. Records of the 10 most recent scheduled execution attempts, ordered in descending order of `execution_time`. Updated whenever automatic creation of a workflow invocation is triggered by cron_schedule.
repeated .google.cloud.dataform.v1.WorkflowConfig.ScheduledExecutionRecord recent_scheduled_execution_records = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRecentScheduledExecutionRecordsOrBuilderin interfaceWorkflowConfigOrBuilder
-
getDisabled
public boolean getDisabled()Optional. Disables automatic creation of workflow invocations.
bool disabled = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisabledin interfaceWorkflowConfigOrBuilder- Returns:
- The disabled.
-
hasCreateTime
public boolean hasCreateTime()Output only. The timestamp of when the WorkflowConfig was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceWorkflowConfigOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The timestamp of when the WorkflowConfig was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceWorkflowConfigOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The timestamp of when the WorkflowConfig was created.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceWorkflowConfigOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The timestamp of when the WorkflowConfig was last updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceWorkflowConfigOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The timestamp of when the WorkflowConfig was last updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceWorkflowConfigOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The timestamp of when the WorkflowConfig was last updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceWorkflowConfigOrBuilder
-
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 = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasInternalMetadatain interfaceWorkflowConfigOrBuilder- 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 = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getInternalMetadatain interfaceWorkflowConfigOrBuilder- 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 = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getInternalMetadataBytesin interfaceWorkflowConfigOrBuilder- 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 WorkflowConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkflowConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkflowConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkflowConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkflowConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkflowConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static WorkflowConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static WorkflowConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static WorkflowConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static WorkflowConfig 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 WorkflowConfig.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
-