Class Execution.StateError.Builder (2.55.0)

public static final class Execution.StateError.Builder extends GeneratedMessageV3.Builder<Execution.StateError.Builder> implements Execution.StateErrorOrBuilder

Describes an error related to the current state of the Execution resource.

Protobuf type google.cloud.workflows.executions.v1.Execution.StateError

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Execution.StateError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Execution.StateError.Builder
Overrides

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
Overrides

clearDetails()

public Execution.StateError.Builder clearDetails()

Provides specifics about the error.

string details = 1;

Returns
Type Description
Execution.StateError.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Execution.StateError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Execution.StateError.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Execution.StateError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Execution.StateError.Builder
Overrides

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.

clone()

public Execution.StateError.Builder clone()
Returns
Type Description
Execution.StateError.Builder
Overrides

getDefaultInstanceForType()

public Execution.StateError getDefaultInstanceForType()
Returns
Type Description
Execution.StateError

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Execution.StateError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Execution.StateError.Builder
Overrides

setDetails(String value)

public Execution.StateError.Builder setDetails(String value)

Provides specifics about the error.

string details = 1;

Parameter
Name Description
value String

The 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 ByteString

The bytes for details to set.

Returns
Type Description
Execution.StateError.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Execution.StateError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Execution.StateError.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Execution.StateError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Execution.StateError.Builder
Overrides

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.Type

The 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 int

The enum numeric value on the wire for type to set.

Returns
Type Description
Execution.StateError.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Execution.StateError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Execution.StateError.Builder
Overrides