Class Execution.StateError.Builder (2.36.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Execution.StateError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Execution.StateError.Builder
Overrides

build()

public Execution.StateError build()
Returns
TypeDescription
Execution.StateError

buildPartial()

public Execution.StateError buildPartial()
Returns
TypeDescription
Execution.StateError

clear()

public Execution.StateError.Builder clear()
Returns
TypeDescription
Execution.StateError.Builder
Overrides

clearDetails()

public Execution.StateError.Builder clearDetails()

Provides specifics about the error.

string details = 1;

Returns
TypeDescription
Execution.StateError.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Execution.StateError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Execution.StateError.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Execution.StateError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Execution.StateError.Builder

This builder for chaining.

clone()

public Execution.StateError.Builder clone()
Returns
TypeDescription
Execution.StateError.Builder
Overrides

getDefaultInstanceForType()

public Execution.StateError getDefaultInstanceForType()
Returns
TypeDescription
Execution.StateError

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDetails()

public String getDetails()

Provides specifics about the error.

string details = 1;

Returns
TypeDescription
String

The details.

getDetailsBytes()

public ByteString getDetailsBytes()

Provides specifics about the error.

string details = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Execution.StateError other)

public Execution.StateError.Builder mergeFrom(Execution.StateError other)
Parameter
NameDescription
otherExecution.StateError
Returns
TypeDescription
Execution.StateError.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Execution.StateError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Execution.StateError.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Execution.StateError.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Execution.StateError.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Execution.StateError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Execution.StateError.Builder
Overrides

setDetails(String value)

public Execution.StateError.Builder setDetails(String value)

Provides specifics about the error.

string details = 1;

Parameter
NameDescription
valueString

The details to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for details to set.

Returns
TypeDescription
Execution.StateError.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Execution.StateError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueExecution.StateError.Type

The type to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
Execution.StateError.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Execution.StateError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Execution.StateError.Builder
Overrides