Package com.google.cloud.workflows.v1
Class Workflow
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.workflows.v1.Workflow
-
- All Implemented Interfaces:
WorkflowOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Workflow extends com.google.protobuf.GeneratedMessageV3 implements WorkflowOrBuilder
Workflow program to be executed by Workflows.
Protobuf typegoogle.cloud.workflows.v1.Workflow
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Workflow.Builder
Workflow program to be executed by Workflows.static class
Workflow.CallLogLevel
Describes the level of platform logging to apply to calls and call responses during workflow executions.static class
Workflow.SourceCodeCase
static class
Workflow.State
Describes the current state of workflow deployment.static class
Workflow.StateError
Describes an error related to the current state of the workflow.static interface
Workflow.StateErrorOrBuilder
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
CALL_LOG_LEVEL_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
CRYPTO_KEY_NAME_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
REVISION_CREATE_TIME_FIELD_NUMBER
static int
REVISION_ID_FIELD_NUMBER
static int
SERVICE_ACCOUNT_FIELD_NUMBER
static int
SOURCE_CONTENTS_FIELD_NUMBER
static int
STATE_ERROR_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
static int
USER_ENV_VARS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Labels associated with this workflow.boolean
containsUserEnvVars(String key)
Optional.boolean
equals(Object obj)
Workflow.CallLogLevel
getCallLogLevel()
Optional.int
getCallLogLevelValue()
Optional.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.String
getCryptoKeyName()
Optional.com.google.protobuf.ByteString
getCryptoKeyNameBytes()
Optional.static Workflow
getDefaultInstance()
Workflow
getDefaultInstanceForType()
String
getDescription()
Description of the workflow provided by the user.com.google.protobuf.ByteString
getDescriptionBytes()
Description of the workflow provided by the user.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Labels associated with this workflow.Map<String,String>
getLabelsMap()
Labels associated with this workflow.String
getLabelsOrDefault(String key, String defaultValue)
Labels associated with this workflow.String
getLabelsOrThrow(String key)
Labels associated with this workflow.String
getName()
The resource name of the workflow.com.google.protobuf.ByteString
getNameBytes()
The resource name of the workflow.com.google.protobuf.Parser<Workflow>
getParserForType()
com.google.protobuf.Timestamp
getRevisionCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getRevisionCreateTimeOrBuilder()
Output only.String
getRevisionId()
Output only.com.google.protobuf.ByteString
getRevisionIdBytes()
Output only.int
getSerializedSize()
String
getServiceAccount()
The service account associated with the latest workflow version.com.google.protobuf.ByteString
getServiceAccountBytes()
The service account associated with the latest workflow version.Workflow.SourceCodeCase
getSourceCodeCase()
String
getSourceContents()
Workflow code to be executed.com.google.protobuf.ByteString
getSourceContentsBytes()
Workflow code to be executed.Workflow.State
getState()
Output only.Workflow.StateError
getStateError()
Output only.Workflow.StateErrorOrBuilder
getStateErrorOrBuilder()
Output only.int
getStateValue()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.Map<String,String>
getUserEnvVars()
Deprecated.int
getUserEnvVarsCount()
Optional.Map<String,String>
getUserEnvVarsMap()
Optional.String
getUserEnvVarsOrDefault(String key, String defaultValue)
Optional.String
getUserEnvVarsOrThrow(String key)
Optional.boolean
hasCreateTime()
Output only.int
hashCode()
boolean
hasRevisionCreateTime()
Output only.boolean
hasSourceContents()
Workflow code to be executed.boolean
hasStateError()
Output only.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static Workflow.Builder
newBuilder()
static Workflow.Builder
newBuilder(Workflow prototype)
Workflow.Builder
newBuilderForType()
protected Workflow.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Workflow
parseDelimitedFrom(InputStream input)
static Workflow
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Workflow
parseFrom(byte[] data)
static Workflow
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Workflow
parseFrom(com.google.protobuf.ByteString data)
static Workflow
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Workflow
parseFrom(com.google.protobuf.CodedInputStream input)
static Workflow
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Workflow
parseFrom(InputStream input)
static Workflow
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Workflow
parseFrom(ByteBuffer data)
static Workflow
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Workflow>
parser()
Workflow.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REVISION_ID_FIELD_NUMBER
public static final int REVISION_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REVISION_CREATE_TIME_FIELD_NUMBER
public static final int REVISION_CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_CONTENTS_FIELD_NUMBER
public static final int SOURCE_CONTENTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CRYPTO_KEY_NAME_FIELD_NUMBER
public static final int CRYPTO_KEY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_ERROR_FIELD_NUMBER
public static final int STATE_ERROR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CALL_LOG_LEVEL_FIELD_NUMBER
public static final int CALL_LOG_LEVEL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USER_ENV_VARS_FIELD_NUMBER
public static final int USER_ENV_VARS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getSourceCodeCase
public Workflow.SourceCodeCase getSourceCodeCase()
- Specified by:
getSourceCodeCase
in interfaceWorkflowOrBuilder
-
getName
public String getName()
The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}
string name = 1;
- Specified by:
getName
in interfaceWorkflowOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The resource name of the workflow. Format: projects/{project}/locations/{location}/workflows/{workflow}
string name = 1;
- Specified by:
getNameBytes
in interfaceWorkflowOrBuilder
- Returns:
- The bytes for name.
-
getDescription
public String getDescription()
Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
string description = 2;
- Specified by:
getDescription
in interfaceWorkflowOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Description of the workflow provided by the user. Must be at most 1000 unicode characters long.
string description = 2;
- Specified by:
getDescriptionBytes
in interfaceWorkflowOrBuilder
- Returns:
- The bytes for description.
-
getStateValue
public int getStateValue()
Output only. State of the workflow deployment.
.google.cloud.workflows.v1.Workflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfaceWorkflowOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
getState
public Workflow.State getState()
Output only. State of the workflow deployment.
.google.cloud.workflows.v1.Workflow.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfaceWorkflowOrBuilder
- Returns:
- The state.
-
getRevisionId
public String getRevisionId()
Output only. The revision of the workflow. A new revision of a workflow is created as a result of updating the following properties of a workflow: - [Service account][google.cloud.workflows.v1.Workflow.service_account] - [Workflow code to be executed][google.cloud.workflows.v1.Workflow.source_contents] The format is "000001-a4d", where the first six characters define the zero-padded revision ordinal number. They are followed by a hyphen and three hexadecimal random characters.
string revision_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getRevisionId
in interfaceWorkflowOrBuilder
- Returns:
- The revisionId.
-
getRevisionIdBytes
public com.google.protobuf.ByteString getRevisionIdBytes()
Output only. The revision of the workflow. A new revision of a workflow is created as a result of updating the following properties of a workflow: - [Service account][google.cloud.workflows.v1.Workflow.service_account] - [Workflow code to be executed][google.cloud.workflows.v1.Workflow.source_contents] The format is "000001-a4d", where the first six characters define the zero-padded revision ordinal number. They are followed by a hyphen and three hexadecimal random characters.
string revision_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getRevisionIdBytes
in interfaceWorkflowOrBuilder
- Returns:
- The bytes for revisionId.
-
hasCreateTime
public boolean hasCreateTime()
Output only. The timestamp for when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceWorkflowOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The timestamp for when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceWorkflowOrBuilder
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp for when the workflow was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceWorkflowOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The timestamp for when the workflow was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceWorkflowOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The timestamp for when the workflow was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceWorkflowOrBuilder
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The timestamp for when the workflow was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceWorkflowOrBuilder
-
hasRevisionCreateTime
public boolean hasRevisionCreateTime()
Output only. The timestamp for the latest revision of the workflow's creation.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasRevisionCreateTime
in interfaceWorkflowOrBuilder
- Returns:
- Whether the revisionCreateTime field is set.
-
getRevisionCreateTime
public com.google.protobuf.Timestamp getRevisionCreateTime()
Output only. The timestamp for the latest revision of the workflow's creation.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getRevisionCreateTime
in interfaceWorkflowOrBuilder
- Returns:
- The revisionCreateTime.
-
getRevisionCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder()
Output only. The timestamp for the latest revision of the workflow's creation.
.google.protobuf.Timestamp revision_create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getRevisionCreateTimeOrBuilder
in interfaceWorkflowOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:WorkflowOrBuilder
Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed.
map<string, string> labels = 8;
- Specified by:
getLabelsCount
in interfaceWorkflowOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed.
map<string, string> labels = 8;
- Specified by:
containsLabels
in interfaceWorkflowOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceWorkflowOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed.
map<string, string> labels = 8;
- Specified by:
getLabelsMap
in interfaceWorkflowOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed.
map<string, string> labels = 8;
- Specified by:
getLabelsOrDefault
in interfaceWorkflowOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels associated with this workflow. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed.
map<string, string> labels = 8;
- Specified by:
getLabelsOrThrow
in interfaceWorkflowOrBuilder
-
getServiceAccount
public String getServiceAccount()
The service account associated with the latest workflow version. This service account represents the identity of the workflow and determines what permissions the workflow has. Format: projects/{project}/serviceAccounts/{account} or {account} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. The `{account}` value can be the `email` address or the `unique_id` of the service account. If not provided, workflow will use the project's default service account. Modifying this field for an existing workflow results in a new workflow revision.
string service_account = 9;
- Specified by:
getServiceAccount
in interfaceWorkflowOrBuilder
- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public com.google.protobuf.ByteString getServiceAccountBytes()
The service account associated with the latest workflow version. This service account represents the identity of the workflow and determines what permissions the workflow has. Format: projects/{project}/serviceAccounts/{account} or {account} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. The `{account}` value can be the `email` address or the `unique_id` of the service account. If not provided, workflow will use the project's default service account. Modifying this field for an existing workflow results in a new workflow revision.
string service_account = 9;
- Specified by:
getServiceAccountBytes
in interfaceWorkflowOrBuilder
- Returns:
- The bytes for serviceAccount.
-
hasSourceContents
public boolean hasSourceContents()
Workflow code to be executed. The size limit is 128KB.
string source_contents = 10;
- Specified by:
hasSourceContents
in interfaceWorkflowOrBuilder
- Returns:
- Whether the sourceContents field is set.
-
getSourceContents
public String getSourceContents()
Workflow code to be executed. The size limit is 128KB.
string source_contents = 10;
- Specified by:
getSourceContents
in interfaceWorkflowOrBuilder
- Returns:
- The sourceContents.
-
getSourceContentsBytes
public com.google.protobuf.ByteString getSourceContentsBytes()
Workflow code to be executed. The size limit is 128KB.
string source_contents = 10;
- Specified by:
getSourceContentsBytes
in interfaceWorkflowOrBuilder
- Returns:
- The bytes for sourceContents.
-
getCryptoKeyName
public String getCryptoKeyName()
Optional. The resource name of a KMS crypto key used to encrypt or decrypt the data associated with the workflow. Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. If not provided, data associated with the workflow will not be CMEK-encrypted.
string crypto_key_name = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
- Specified by:
getCryptoKeyName
in interfaceWorkflowOrBuilder
- Returns:
- The cryptoKeyName.
-
getCryptoKeyNameBytes
public com.google.protobuf.ByteString getCryptoKeyNameBytes()
Optional. The resource name of a KMS crypto key used to encrypt or decrypt the data associated with the workflow. Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey} Using `-` as a wildcard for the `{project}` or not providing one at all will infer the project from the account. If not provided, data associated with the workflow will not be CMEK-encrypted.
string crypto_key_name = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
- Specified by:
getCryptoKeyNameBytes
in interfaceWorkflowOrBuilder
- Returns:
- The bytes for cryptoKeyName.
-
hasStateError
public boolean hasStateError()
Output only. Error regarding the state of the workflow. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
.google.cloud.workflows.v1.Workflow.StateError state_error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasStateError
in interfaceWorkflowOrBuilder
- Returns:
- Whether the stateError field is set.
-
getStateError
public Workflow.StateError getStateError()
Output only. Error regarding the state of the workflow. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
.google.cloud.workflows.v1.Workflow.StateError state_error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateError
in interfaceWorkflowOrBuilder
- Returns:
- The stateError.
-
getStateErrorOrBuilder
public Workflow.StateErrorOrBuilder getStateErrorOrBuilder()
Output only. Error regarding the state of the workflow. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
.google.cloud.workflows.v1.Workflow.StateError state_error = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateErrorOrBuilder
in interfaceWorkflowOrBuilder
-
getCallLogLevelValue
public int getCallLogLevelValue()
Optional. Describes the level of platform logging to apply to calls and call responses during executions of this workflow. If both the workflow and the execution specify a logging level, the execution level takes precedence.
.google.cloud.workflows.v1.Workflow.CallLogLevel call_log_level = 13 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getCallLogLevelValue
in interfaceWorkflowOrBuilder
- Returns:
- The enum numeric value on the wire for callLogLevel.
-
getCallLogLevel
public Workflow.CallLogLevel getCallLogLevel()
Optional. Describes the level of platform logging to apply to calls and call responses during executions of this workflow. If both the workflow and the execution specify a logging level, the execution level takes precedence.
.google.cloud.workflows.v1.Workflow.CallLogLevel call_log_level = 13 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getCallLogLevel
in interfaceWorkflowOrBuilder
- Returns:
- The callLogLevel.
-
getUserEnvVarsCount
public int getUserEnvVarsCount()
Description copied from interface:WorkflowOrBuilder
Optional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 40KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
map<string, string> user_env_vars = 14 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getUserEnvVarsCount
in interfaceWorkflowOrBuilder
-
containsUserEnvVars
public boolean containsUserEnvVars(String key)
Optional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 40KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
map<string, string> user_env_vars = 14 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
containsUserEnvVars
in interfaceWorkflowOrBuilder
-
getUserEnvVars
@Deprecated public Map<String,String> getUserEnvVars()
Deprecated.UsegetUserEnvVarsMap()
instead.- Specified by:
getUserEnvVars
in interfaceWorkflowOrBuilder
-
getUserEnvVarsMap
public Map<String,String> getUserEnvVarsMap()
Optional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 40KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
map<string, string> user_env_vars = 14 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getUserEnvVarsMap
in interfaceWorkflowOrBuilder
-
getUserEnvVarsOrDefault
public String getUserEnvVarsOrDefault(String key, String defaultValue)
Optional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 40KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
map<string, string> user_env_vars = 14 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getUserEnvVarsOrDefault
in interfaceWorkflowOrBuilder
-
getUserEnvVarsOrThrow
public String getUserEnvVarsOrThrow(String key)
Optional. User-defined environment variables associated with this workflow revision. This map has a maximum length of 20. Each string can take up to 40KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or “WORKFLOWS".
map<string, string> user_env_vars = 14 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getUserEnvVarsOrThrow
in interfaceWorkflowOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Workflow parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Workflow parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Workflow parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Workflow parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Workflow parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Workflow parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Workflow parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Workflow parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Workflow parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Workflow parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Workflow parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Workflow parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Workflow.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Workflow.Builder newBuilder()
-
newBuilder
public static Workflow.Builder newBuilder(Workflow prototype)
-
toBuilder
public Workflow.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Workflow.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Workflow getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Workflow> parser()
-
getParserForType
public com.google.protobuf.Parser<Workflow> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Workflow getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-