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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Workflow.StateError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Workflow.StateError build()
buildPartial()
public Workflow.StateError buildPartial()
clear()
public Workflow.StateError.Builder clear()
Overrides
clearDetails()
public Workflow.StateError.Builder clearDetails()
Provides specifics about the error.
string details = 1;
clearField(Descriptors.FieldDescriptor field)
public Workflow.StateError.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Workflow.StateError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearType()
public Workflow.StateError.Builder clearType()
The type of this state error.
.google.cloud.workflows.v1.Workflow.StateError.Type type = 2;
clone()
public Workflow.StateError.Builder clone()
Overrides
getDefaultInstanceForType()
public Workflow.StateError getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Workflow.StateError other)
public Workflow.StateError.Builder mergeFrom(Workflow.StateError other)
public Workflow.StateError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Workflow.StateError.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Workflow.StateError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Workflow.StateError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Workflow.StateError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Workflow.StateError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides