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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WorkerReleasedEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public WorkerReleasedEvent build()
Returns
buildPartial()
public WorkerReleasedEvent buildPartial()
Returns
clear()
public WorkerReleasedEvent.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public WorkerReleasedEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearInstance()
public WorkerReleasedEvent.Builder clearInstance()
The worker's instance name.
string instance = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public WorkerReleasedEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearZone()
public WorkerReleasedEvent.Builder clearZone()
The zone the worker was running in.
string zone = 1;
Returns
clone()
public WorkerReleasedEvent.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public WorkerReleasedEvent getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(WorkerReleasedEvent other)
public WorkerReleasedEvent.Builder mergeFrom(WorkerReleasedEvent other)
Parameter
Returns
public WorkerReleasedEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public WorkerReleasedEvent.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WorkerReleasedEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public WorkerReleasedEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WorkerReleasedEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final WorkerReleasedEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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