Class Workflow.StateError.Builder (2.45.0)

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

Describes an error related to the current state of the workflow.

Protobuf type google.cloud.workflows.v1.Workflow.StateError

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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
Overrides

clearDetails()

public Workflow.StateError.Builder clearDetails()

Provides specifics about the error.

string details = 1;

Returns
Type Description
Workflow.StateError.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

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

getDefaultInstanceForType()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDetails(String value)

public Workflow.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
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 ByteString

The bytes for details to set.

Returns
Type Description
Workflow.StateError.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

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

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

Returns
Type Description
Workflow.StateError.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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