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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > WorkerReleasedEvent.BuilderImplements
WorkerReleasedEventOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public WorkerReleasedEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
WorkerReleasedEvent.Builder |
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 |
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 |
getDefaultInstanceForType()
public WorkerReleasedEvent getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
WorkerReleasedEvent |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public WorkerReleasedEvent.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
WorkerReleasedEvent.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WorkerReleasedEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
WorkerReleasedEvent.Builder |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final WorkerReleasedEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
WorkerReleasedEvent.Builder |
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. |