Class WorkerReleasedEvent.Builder (0.54.0)

public static final class WorkerReleasedEvent.Builder extends GeneratedMessageV3.Builder<WorkerReleasedEvent.Builder> implements WorkerReleasedEventOrBuilder

An event generated when the worker VM that was assigned to the pipeline has been released (deleted).

Protobuf type google.cloud.lifesciences.v2beta.WorkerReleasedEvent

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WorkerReleasedEvent build()
Returns
Type Description
WorkerReleasedEvent

buildPartial()

public WorkerReleasedEvent buildPartial()
Returns
Type Description
WorkerReleasedEvent

clear()

public WorkerReleasedEvent.Builder clear()
Returns
Type Description
WorkerReleasedEvent.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearInstance()

public WorkerReleasedEvent.Builder clearInstance()

The worker's instance name.

string instance = 2;

Returns
Type Description
WorkerReleasedEvent.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearZone()

public WorkerReleasedEvent.Builder clearZone()

The zone the worker was running in.

string zone = 1;

Returns
Type Description
WorkerReleasedEvent.Builder

This builder for chaining.

clone()

public WorkerReleasedEvent.Builder clone()
Returns
Type Description
WorkerReleasedEvent.Builder
Overrides

getDefaultInstanceForType()

public WorkerReleasedEvent getDefaultInstanceForType()
Returns
Type Description
WorkerReleasedEvent

getDescriptorForType()

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

getInstance()

public String getInstance()

The worker's instance name.

string instance = 2;

Returns
Type Description
String

The instance.

getInstanceBytes()

public ByteString getInstanceBytes()

The worker's instance name.

string instance = 2;

Returns
Type Description
ByteString

The bytes for instance.

getZone()

public String getZone()

The zone the worker was running in.

string zone = 1;

Returns
Type Description
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

The zone the worker was running in.

string zone = 1;

Returns
Type Description
ByteString

The bytes for zone.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WorkerReleasedEvent other)

public WorkerReleasedEvent.Builder mergeFrom(WorkerReleasedEvent other)
Parameter
Name Description
other WorkerReleasedEvent
Returns
Type Description
WorkerReleasedEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WorkerReleasedEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkerReleasedEvent.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public WorkerReleasedEvent.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
WorkerReleasedEvent.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstance(String value)

public WorkerReleasedEvent.Builder setInstance(String value)

The worker's instance name.

string instance = 2;

Parameter
Name Description
value String

The instance to set.

Returns
Type Description
WorkerReleasedEvent.Builder

This builder for chaining.

setInstanceBytes(ByteString value)

public WorkerReleasedEvent.Builder setInstanceBytes(ByteString value)

The worker's instance name.

string instance = 2;

Parameter
Name Description
value ByteString

The bytes for instance to set.

Returns
Type Description
WorkerReleasedEvent.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setZone(String value)

public WorkerReleasedEvent.Builder setZone(String value)

The zone the worker was running in.

string zone = 1;

Parameter
Name Description
value String

The zone to set.

Returns
Type Description
WorkerReleasedEvent.Builder

This builder for chaining.

setZoneBytes(ByteString value)

public WorkerReleasedEvent.Builder setZoneBytes(ByteString value)

The zone the worker was running in.

string zone = 1;

Parameter
Name Description
value ByteString

The bytes for zone to set.

Returns
Type Description
WorkerReleasedEvent.Builder

This builder for chaining.