Class WorkerDetails (0.5.0)

public final class WorkerDetails extends GeneratedMessageV3 implements WorkerDetailsOrBuilder

Information about a worker

Protobuf type google.dataflow.v1beta3.WorkerDetails

Static Fields

WORKER_NAME_FIELD_NUMBER

public static final int WORKER_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

WORK_ITEMS_FIELD_NUMBER

public static final int WORK_ITEMS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static WorkerDetails getDefaultInstance()
Returns
TypeDescription
WorkerDetails

getDescriptor()

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

newBuilder()

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

newBuilder(WorkerDetails prototype)

public static WorkerDetails.Builder newBuilder(WorkerDetails prototype)
Parameter
NameDescription
prototypeWorkerDetails
Returns
TypeDescription
WorkerDetails.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public WorkerDetails getDefaultInstanceForType()
Returns
TypeDescription
WorkerDetails

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getWorkItems(int index)

public WorkItemDetails getWorkItems(int index)

Work items processed by this worker, sorted by time.

repeated .google.dataflow.v1beta3.WorkItemDetails work_items = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
WorkItemDetails

getWorkItemsCount()

public int getWorkItemsCount()

Work items processed by this worker, sorted by time.

repeated .google.dataflow.v1beta3.WorkItemDetails work_items = 2;

Returns
TypeDescription
int

getWorkItemsList()

public List<WorkItemDetails> getWorkItemsList()

Work items processed by this worker, sorted by time.

repeated .google.dataflow.v1beta3.WorkItemDetails work_items = 2;

Returns
TypeDescription
List<WorkItemDetails>

getWorkItemsOrBuilder(int index)

public WorkItemDetailsOrBuilder getWorkItemsOrBuilder(int index)

Work items processed by this worker, sorted by time.

repeated .google.dataflow.v1beta3.WorkItemDetails work_items = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
WorkItemDetailsOrBuilder

getWorkItemsOrBuilderList()

public List<? extends WorkItemDetailsOrBuilder> getWorkItemsOrBuilderList()

Work items processed by this worker, sorted by time.

repeated .google.dataflow.v1beta3.WorkItemDetails work_items = 2;

Returns
TypeDescription
List<? extends com.google.dataflow.v1beta3.WorkItemDetailsOrBuilder>

getWorkerName()

public String getWorkerName()

Name of this worker

string worker_name = 1;

Returns
TypeDescription
String

The workerName.

getWorkerNameBytes()

public ByteString getWorkerNameBytes()

Name of this worker

string worker_name = 1;

Returns
TypeDescription
ByteString

The bytes for workerName.

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 WorkerDetails.Builder newBuilderForType()
Returns
TypeDescription
WorkerDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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