Class WorkerDetails.Builder (0.50.0)

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
Type Description
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
Name Description
values Iterable<? extends com.google.dataflow.v1beta3.WorkItemDetails>
Returns
Type Description
WorkerDetails.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WorkerDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value WorkItemDetails
Returns
Type Description
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
Name Description
builderForValue WorkItemDetails.Builder
Returns
Type Description
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
Name Description
index int
value WorkItemDetails
Returns
Type Description
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
Name Description
index int
builderForValue WorkItemDetails.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
WorkItemDetails.Builder

build()

public WorkerDetails build()
Returns
Type Description
WorkerDetails

buildPartial()

public WorkerDetails buildPartial()
Returns
Type Description
WorkerDetails

clear()

public WorkerDetails.Builder clear()
Returns
Type Description
WorkerDetails.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public WorkerDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
WorkerDetails.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public WorkerDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
WorkerDetails.Builder

clearWorkerName()

public WorkerDetails.Builder clearWorkerName()

Name of this worker

string worker_name = 1;

Returns
Type Description
WorkerDetails.Builder

This builder for chaining.

clone()

public WorkerDetails.Builder clone()
Returns
Type Description
WorkerDetails.Builder
Overrides

getDefaultInstanceForType()

public WorkerDetails getDefaultInstanceForType()
Returns
Type Description
WorkerDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<Builder>

getWorkItemsCount()

public int getWorkItemsCount()

Work items processed by this worker, sorted by time.

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

Returns
Type Description
int

getWorkItemsList()

public List<WorkItemDetails> getWorkItemsList()

Work items processed by this worker, sorted by time.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.dataflow.v1beta3.WorkItemDetailsOrBuilder>

getWorkerName()

public String getWorkerName()

Name of this worker

string worker_name = 1;

Returns
Type Description
String

The workerName.

getWorkerNameBytes()

public ByteString getWorkerNameBytes()

Name of this worker

string worker_name = 1;

Returns
Type Description
ByteString

The bytes for workerName.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WorkerDetails other)

public WorkerDetails.Builder mergeFrom(WorkerDetails other)
Parameter
Name Description
other WorkerDetails
Returns
Type Description
WorkerDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WorkerDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkerDetails.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public WorkerDetails.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
WorkerDetails.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WorkerDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
WorkerDetails.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public WorkerDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WorkerDetails.Builder
Overrides

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

public WorkerDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
WorkerDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final WorkerDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
value WorkItemDetails
Returns
Type Description
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
Name Description
index int
builderForValue WorkItemDetails.Builder
Returns
Type Description
WorkerDetails.Builder

setWorkerName(String value)

public WorkerDetails.Builder setWorkerName(String value)

Name of this worker

string worker_name = 1;

Parameter
Name Description
value String

The workerName to set.

Returns
Type Description
WorkerDetails.Builder

This builder for chaining.

setWorkerNameBytes(ByteString value)

public WorkerDetails.Builder setWorkerNameBytes(ByteString value)

Name of this worker

string worker_name = 1;

Parameter
Name Description
value ByteString

The bytes for workerName to set.

Returns
Type Description
WorkerDetails.Builder

This builder for chaining.