Class WorkerDetails.Builder

Stay organized with collections Save and categorize content based on your preferences.
public static final class WorkerDetails.Builder extends GeneratedMessageV3.Builder<WorkerDetails.Builder> implements WorkerDetailsOrBuilder

Information about a worker

Protobuf type google.dataflow.v1beta3.WorkerDetails

Static Methods

getDescriptor()

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

Methods

addAllWorkItems(Iterable<? extends WorkItemDetails> values)

public WorkerDetails.Builder addAllWorkItems(Iterable<? extends WorkItemDetails> values)

Work items processed by this worker, sorted by time.

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

Parameter
NameDescription
valuesIterable<? extends com.google.dataflow.v1beta3.WorkItemDetails>
Returns
TypeDescription
WorkerDetails.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WorkerDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
WorkerDetails.Builder
Overrides

addWorkItems(WorkItemDetails value)

public WorkerDetails.Builder addWorkItems(WorkItemDetails value)

Work items processed by this worker, sorted by time.

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

Parameter
NameDescription
valueWorkItemDetails
Returns
TypeDescription
WorkerDetails.Builder

addWorkItems(WorkItemDetails.Builder builderForValue)

public WorkerDetails.Builder addWorkItems(WorkItemDetails.Builder builderForValue)

Work items processed by this worker, sorted by time.

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

Parameter
NameDescription
builderForValueWorkItemDetails.Builder
Returns
TypeDescription
WorkerDetails.Builder

addWorkItems(int index, WorkItemDetails value)

public WorkerDetails.Builder addWorkItems(int index, WorkItemDetails value)

Work items processed by this worker, sorted by time.

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

Parameters
NameDescription
indexint
valueWorkItemDetails
Returns
TypeDescription
WorkerDetails.Builder

addWorkItems(int index, WorkItemDetails.Builder builderForValue)

public WorkerDetails.Builder addWorkItems(int index, WorkItemDetails.Builder builderForValue)

Work items processed by this worker, sorted by time.

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

Parameters
NameDescription
indexint
builderForValueWorkItemDetails.Builder
Returns
TypeDescription
WorkerDetails.Builder

addWorkItemsBuilder()

public WorkItemDetails.Builder addWorkItemsBuilder()

Work items processed by this worker, sorted by time.

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

Returns
TypeDescription
WorkItemDetails.Builder

addWorkItemsBuilder(int index)

public WorkItemDetails.Builder addWorkItemsBuilder(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.Builder

build()

public WorkerDetails build()
Returns
TypeDescription
WorkerDetails

buildPartial()

public WorkerDetails buildPartial()
Returns
TypeDescription
WorkerDetails

clear()

public WorkerDetails.Builder clear()
Returns
TypeDescription
WorkerDetails.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public WorkerDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
WorkerDetails.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public WorkerDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
WorkerDetails.Builder
Overrides

clearWorkItems()

public WorkerDetails.Builder clearWorkItems()

Work items processed by this worker, sorted by time.

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

Returns
TypeDescription
WorkerDetails.Builder

clearWorkerName()

public WorkerDetails.Builder clearWorkerName()

Name of this worker

string worker_name = 1;

Returns
TypeDescription
WorkerDetails.Builder

This builder for chaining.

clone()

public WorkerDetails.Builder clone()
Returns
TypeDescription
WorkerDetails.Builder
Overrides

getDefaultInstanceForType()

public WorkerDetails getDefaultInstanceForType()
Returns
TypeDescription
WorkerDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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

getWorkItemsBuilder(int index)

public WorkItemDetails.Builder getWorkItemsBuilder(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.Builder

getWorkItemsBuilderList()

public List<WorkItemDetails.Builder> getWorkItemsBuilderList()

Work items processed by this worker, sorted by time.

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

Returns
TypeDescription
List<Builder>

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(WorkerDetails other)

public WorkerDetails.Builder mergeFrom(WorkerDetails other)
Parameter
NameDescription
otherWorkerDetails
Returns
TypeDescription
WorkerDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WorkerDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkerDetails.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public WorkerDetails.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
WorkerDetails.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WorkerDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
WorkerDetails.Builder
Overrides

removeWorkItems(int index)

public WorkerDetails.Builder removeWorkItems(int index)

Work items processed by this worker, sorted by time.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
WorkerDetails.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public WorkerDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
WorkerDetails.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public WorkerDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
WorkerDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final WorkerDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
WorkerDetails.Builder
Overrides

setWorkItems(int index, WorkItemDetails value)

public WorkerDetails.Builder setWorkItems(int index, WorkItemDetails value)

Work items processed by this worker, sorted by time.

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

Parameters
NameDescription
indexint
valueWorkItemDetails
Returns
TypeDescription
WorkerDetails.Builder

setWorkItems(int index, WorkItemDetails.Builder builderForValue)

public WorkerDetails.Builder setWorkItems(int index, WorkItemDetails.Builder builderForValue)

Work items processed by this worker, sorted by time.

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

Parameters
NameDescription
indexint
builderForValueWorkItemDetails.Builder
Returns
TypeDescription
WorkerDetails.Builder

setWorkerName(String value)

public WorkerDetails.Builder setWorkerName(String value)

Name of this worker

string worker_name = 1;

Parameter
NameDescription
valueString

The workerName to set.

Returns
TypeDescription
WorkerDetails.Builder

This builder for chaining.

setWorkerNameBytes(ByteString value)

public WorkerDetails.Builder setWorkerNameBytes(ByteString value)

Name of this worker

string worker_name = 1;

Parameter
NameDescription
valueByteString

The bytes for workerName to set.

Returns
TypeDescription
WorkerDetails.Builder

This builder for chaining.