Class WorkerAssignedEvent (0.55.0)

public final class WorkerAssignedEvent extends GeneratedMessageV3 implements WorkerAssignedEventOrBuilder

An event generated after a worker VM has been assigned to run the pipeline.

Protobuf type google.cloud.lifesciences.v2beta.WorkerAssignedEvent

Static Fields

INSTANCE_FIELD_NUMBER

public static final int INSTANCE_FIELD_NUMBER
Field Value
Type Description
int

MACHINE_TYPE_FIELD_NUMBER

public static final int MACHINE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

ZONE_FIELD_NUMBER

public static final int ZONE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static WorkerAssignedEvent getDefaultInstance()
Returns
Type Description
WorkerAssignedEvent

getDescriptor()

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

newBuilder()

public static WorkerAssignedEvent.Builder newBuilder()
Returns
Type Description
WorkerAssignedEvent.Builder

newBuilder(WorkerAssignedEvent prototype)

public static WorkerAssignedEvent.Builder newBuilder(WorkerAssignedEvent prototype)
Parameter
Name Description
prototype WorkerAssignedEvent
Returns
Type Description
WorkerAssignedEvent.Builder

parseDelimitedFrom(InputStream input)

public static WorkerAssignedEvent parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WorkerAssignedEvent
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkerAssignedEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkerAssignedEvent
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static WorkerAssignedEvent parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
WorkerAssignedEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WorkerAssignedEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkerAssignedEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WorkerAssignedEvent parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
WorkerAssignedEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WorkerAssignedEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkerAssignedEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WorkerAssignedEvent parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
WorkerAssignedEvent
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkerAssignedEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkerAssignedEvent
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static WorkerAssignedEvent parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WorkerAssignedEvent
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkerAssignedEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkerAssignedEvent
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static WorkerAssignedEvent parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
WorkerAssignedEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WorkerAssignedEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkerAssignedEvent
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<WorkerAssignedEvent> parser()
Returns
Type Description
Parser<WorkerAssignedEvent>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public WorkerAssignedEvent getDefaultInstanceForType()
Returns
Type Description
WorkerAssignedEvent

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.

getMachineType()

public String getMachineType()

The machine type that was assigned for the worker.

string machine_type = 3;

Returns
Type Description
String

The machineType.

getMachineTypeBytes()

public ByteString getMachineTypeBytes()

The machine type that was assigned for the worker.

string machine_type = 3;

Returns
Type Description
ByteString

The bytes for machineType.

getParserForType()

public Parser<WorkerAssignedEvent> getParserForType()
Returns
Type Description
Parser<WorkerAssignedEvent>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getZone()

public String getZone()

The zone the worker is running in.

string zone = 1;

Returns
Type Description
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

The zone the worker is running in.

string zone = 1;

Returns
Type Description
ByteString

The bytes for zone.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public WorkerAssignedEvent.Builder newBuilderForType()
Returns
Type Description
WorkerAssignedEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WorkerAssignedEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
WorkerAssignedEvent.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public WorkerAssignedEvent.Builder toBuilder()
Returns
Type Description
WorkerAssignedEvent.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException