Class WorkerReleasedEvent.Builder (0.18.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WorkerReleasedEvent build()
Returns
TypeDescription
WorkerReleasedEvent

buildPartial()

public WorkerReleasedEvent buildPartial()
Returns
TypeDescription
WorkerReleasedEvent

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstance()

public WorkerReleasedEvent.Builder clearInstance()

The worker's instance name.

string instance = 2;

Returns
TypeDescription
WorkerReleasedEvent.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearZone()

public WorkerReleasedEvent.Builder clearZone()

The zone the worker was running in.

string zone = 1;

Returns
TypeDescription
WorkerReleasedEvent.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public WorkerReleasedEvent getDefaultInstanceForType()
Returns
TypeDescription
WorkerReleasedEvent

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstance()

public String getInstance()

The worker's instance name.

string instance = 2;

Returns
TypeDescription
String

The instance.

getInstanceBytes()

public ByteString getInstanceBytes()

The worker's instance name.

string instance = 2;

Returns
TypeDescription
ByteString

The bytes for instance.

getZone()

public String getZone()

The zone the worker was running in.

string zone = 1;

Returns
TypeDescription
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

The zone the worker was running in.

string zone = 1;

Returns
TypeDescription
ByteString

The bytes for zone.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(WorkerReleasedEvent other)

public WorkerReleasedEvent.Builder mergeFrom(WorkerReleasedEvent other)
Parameter
NameDescription
otherWorkerReleasedEvent
Returns
TypeDescription
WorkerReleasedEvent.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstance(String value)

public WorkerReleasedEvent.Builder setInstance(String value)

The worker's instance name.

string instance = 2;

Parameter
NameDescription
valueString

The instance to set.

Returns
TypeDescription
WorkerReleasedEvent.Builder

This builder for chaining.

setInstanceBytes(ByteString value)

public WorkerReleasedEvent.Builder setInstanceBytes(ByteString value)

The worker's instance name.

string instance = 2;

Parameter
NameDescription
valueByteString

The bytes for instance to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
WorkerReleasedEvent.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setZone(String value)

public WorkerReleasedEvent.Builder setZone(String value)

The zone the worker was running in.

string zone = 1;

Parameter
NameDescription
valueString

The zone to set.

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

The bytes for zone to set.

Returns
TypeDescription
WorkerReleasedEvent.Builder

This builder for chaining.