Class WorkerAssignedEvent (0.39.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
TypeDescription
int

MACHINE_TYPE_FIELD_NUMBER

public static final int MACHINE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

ZONE_FIELD_NUMBER

public static final int ZONE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static WorkerAssignedEvent getDefaultInstance()
Returns
TypeDescription
WorkerAssignedEvent

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static WorkerAssignedEvent.Builder newBuilder()
Returns
TypeDescription
WorkerAssignedEvent.Builder

newBuilder(WorkerAssignedEvent prototype)

public static WorkerAssignedEvent.Builder newBuilder(WorkerAssignedEvent prototype)
Parameter
NameDescription
prototypeWorkerAssignedEvent
Returns
TypeDescription
WorkerAssignedEvent.Builder

parseDelimitedFrom(InputStream input)

public static WorkerAssignedEvent parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WorkerAssignedEvent
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkerAssignedEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkerAssignedEvent
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static WorkerAssignedEvent parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
WorkerAssignedEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WorkerAssignedEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkerAssignedEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WorkerAssignedEvent parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
WorkerAssignedEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WorkerAssignedEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkerAssignedEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WorkerAssignedEvent parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
WorkerAssignedEvent
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkerAssignedEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkerAssignedEvent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static WorkerAssignedEvent parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WorkerAssignedEvent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkerAssignedEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkerAssignedEvent
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static WorkerAssignedEvent parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
WorkerAssignedEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WorkerAssignedEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkerAssignedEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<WorkerAssignedEvent> parser()
Returns
TypeDescription
Parser<WorkerAssignedEvent>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public WorkerAssignedEvent getDefaultInstanceForType()
Returns
TypeDescription
WorkerAssignedEvent

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.

getMachineType()

public String getMachineType()

The machine type that was assigned for the worker.

string machine_type = 3;

Returns
TypeDescription
String

The machineType.

getMachineTypeBytes()

public ByteString getMachineTypeBytes()

The machine type that was assigned for the worker.

string machine_type = 3;

Returns
TypeDescription
ByteString

The bytes for machineType.

getParserForType()

public Parser<WorkerAssignedEvent> getParserForType()
Returns
TypeDescription
Parser<WorkerAssignedEvent>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getZone()

public String getZone()

The zone the worker is running in.

string zone = 1;

Returns
TypeDescription
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

The zone the worker is running in.

string zone = 1;

Returns
TypeDescription
ByteString

The bytes for zone.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public WorkerAssignedEvent.Builder newBuilderForType()
Returns
TypeDescription
WorkerAssignedEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WorkerAssignedEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
WorkerAssignedEvent.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public WorkerAssignedEvent.Builder toBuilder()
Returns
TypeDescription
WorkerAssignedEvent.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException