public static final class Workflow.StateError.Builder extends GeneratedMessage.Builder<Workflow.StateError.Builder> implements Workflow.StateErrorOrBuilderDescribes an error related to the current state of the workflow.
Protobuf type google.cloud.workflows.v1.Workflow.StateError
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Workflow.StateError.BuilderImplements
Workflow.StateErrorOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Workflow.StateError build()| Returns | |
|---|---|
| Type | Description |
Workflow.StateError |
|
buildPartial()
public Workflow.StateError buildPartial()| Returns | |
|---|---|
| Type | Description |
Workflow.StateError |
|
clear()
public Workflow.StateError.Builder clear()| Returns | |
|---|---|
| Type | Description |
Workflow.StateError.Builder |
|
clearDetails()
public Workflow.StateError.Builder clearDetails()Provides specifics about the error.
string details = 1;
| Returns | |
|---|---|
| Type | Description |
Workflow.StateError.Builder |
This builder for chaining. |
clearType()
public Workflow.StateError.Builder clearType()The type of this state error.
.google.cloud.workflows.v1.Workflow.StateError.Type type = 2;
| Returns | |
|---|---|
| Type | Description |
Workflow.StateError.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Workflow.StateError getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Workflow.StateError |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDetails()
public String getDetails()Provides specifics about the error.
string details = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The details. |
getDetailsBytes()
public ByteString getDetailsBytes()Provides specifics about the error.
string details = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for details. |
getType()
public Workflow.StateError.Type getType()The type of this state error.
.google.cloud.workflows.v1.Workflow.StateError.Type type = 2;
| Returns | |
|---|---|
| Type | Description |
Workflow.StateError.Type |
The type. |
getTypeValue()
public int getTypeValue()The type of this state error.
.google.cloud.workflows.v1.Workflow.StateError.Type type = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Workflow.StateError other)
public Workflow.StateError.Builder mergeFrom(Workflow.StateError other)| Parameter | |
|---|---|
| Name | Description |
other |
Workflow.StateError |
| Returns | |
|---|---|
| Type | Description |
Workflow.StateError.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Workflow.StateError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Workflow.StateError.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Workflow.StateError.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Workflow.StateError.Builder |
|
setDetails(String value)
public Workflow.StateError.Builder setDetails(String value)Provides specifics about the error.
string details = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe details to set. |
| Returns | |
|---|---|
| Type | Description |
Workflow.StateError.Builder |
This builder for chaining. |
setDetailsBytes(ByteString value)
public Workflow.StateError.Builder setDetailsBytes(ByteString value)Provides specifics about the error.
string details = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for details to set. |
| Returns | |
|---|---|
| Type | Description |
Workflow.StateError.Builder |
This builder for chaining. |
setType(Workflow.StateError.Type value)
public Workflow.StateError.Builder setType(Workflow.StateError.Type value)The type of this state error.
.google.cloud.workflows.v1.Workflow.StateError.Type type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Workflow.StateError.TypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
Workflow.StateError.Builder |
This builder for chaining. |
setTypeValue(int value)
public Workflow.StateError.Builder setTypeValue(int value)The type of this state error.
.google.cloud.workflows.v1.Workflow.StateError.Type type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
Workflow.StateError.Builder |
This builder for chaining. |