Class FailedEvent.Builder (0.24.0)

public static final class FailedEvent.Builder extends GeneratedMessageV3.Builder<FailedEvent.Builder> implements FailedEventOrBuilder

An event generated when the execution of a pipeline has failed. Note that other events can continue to occur after this event.

Protobuf type google.cloud.lifesciences.v2beta.FailedEvent

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FailedEvent build()
Returns
TypeDescription
FailedEvent

buildPartial()

public FailedEvent buildPartial()
Returns
TypeDescription
FailedEvent

clear()

public FailedEvent.Builder clear()
Returns
TypeDescription
FailedEvent.Builder
Overrides

clearCause()

public FailedEvent.Builder clearCause()

The human-readable description of the cause of the failure.

string cause = 2;

Returns
TypeDescription
FailedEvent.Builder

This builder for chaining.

clearCode()

public FailedEvent.Builder clearCode()

The Google standard error code that best describes this failure.

.google.rpc.Code code = 1;

Returns
TypeDescription
FailedEvent.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public FailedEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FailedEvent.Builder
Overrides

clone()

public FailedEvent.Builder clone()
Returns
TypeDescription
FailedEvent.Builder
Overrides

getCause()

public String getCause()

The human-readable description of the cause of the failure.

string cause = 2;

Returns
TypeDescription
String

The cause.

getCauseBytes()

public ByteString getCauseBytes()

The human-readable description of the cause of the failure.

string cause = 2;

Returns
TypeDescription
ByteString

The bytes for cause.

getCode()

public Code getCode()

The Google standard error code that best describes this failure.

.google.rpc.Code code = 1;

Returns
TypeDescription
com.google.rpc.Code

The code.

getCodeValue()

public int getCodeValue()

The Google standard error code that best describes this failure.

.google.rpc.Code code = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for code.

getDefaultInstanceForType()

public FailedEvent getDefaultInstanceForType()
Returns
TypeDescription
FailedEvent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FailedEvent other)

public FailedEvent.Builder mergeFrom(FailedEvent other)
Parameter
NameDescription
otherFailedEvent
Returns
TypeDescription
FailedEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCause(String value)

public FailedEvent.Builder setCause(String value)

The human-readable description of the cause of the failure.

string cause = 2;

Parameter
NameDescription
valueString

The cause to set.

Returns
TypeDescription
FailedEvent.Builder

This builder for chaining.

setCauseBytes(ByteString value)

public FailedEvent.Builder setCauseBytes(ByteString value)

The human-readable description of the cause of the failure.

string cause = 2;

Parameter
NameDescription
valueByteString

The bytes for cause to set.

Returns
TypeDescription
FailedEvent.Builder

This builder for chaining.

setCode(Code value)

public FailedEvent.Builder setCode(Code value)

The Google standard error code that best describes this failure.

.google.rpc.Code code = 1;

Parameter
NameDescription
valuecom.google.rpc.Code

The code to set.

Returns
TypeDescription
FailedEvent.Builder

This builder for chaining.

setCodeValue(int value)

public FailedEvent.Builder setCodeValue(int value)

The Google standard error code that best describes this failure.

.google.rpc.Code code = 1;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
FailedEvent.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public FailedEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FailedEvent.Builder
Overrides

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

public FailedEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FailedEvent.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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