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