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
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WorkerDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
addWorkItemsBuilder()
public WorkItemDetails.Builder addWorkItemsBuilder()
Work items processed by this worker, sorted by time.
repeated .google.dataflow.v1beta3.WorkItemDetails work_items = 2;
Returns
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
Returns
build()
public WorkerDetails build()
Returns
buildPartial()
public WorkerDetails buildPartial()
Returns
clear()
public WorkerDetails.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public WorkerDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public WorkerDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearWorkItems()
public WorkerDetails.Builder clearWorkItems()
Work items processed by this worker, sorted by time.
repeated .google.dataflow.v1beta3.WorkItemDetails work_items = 2;
Returns
clearWorkerName()
public WorkerDetails.Builder clearWorkerName()
Name of this worker
string worker_name = 1;
Returns
clone()
public WorkerDetails.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public WorkerDetails getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
getWorkItemsBuilderList()
public List<WorkItemDetails.Builder> getWorkItemsBuilderList()
Work items processed by this worker, sorted by time.
repeated .google.dataflow.v1beta3.WorkItemDetails work_items = 2;
Returns
getWorkItemsCount()
public int getWorkItemsCount()
Work items processed by this worker, sorted by time.
repeated .google.dataflow.v1beta3.WorkItemDetails work_items = 2;
Returns
getWorkItemsList()
public List<WorkItemDetails> getWorkItemsList()
Work items processed by this worker, sorted by time.
repeated .google.dataflow.v1beta3.WorkItemDetails work_items = 2;
Returns
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(WorkerDetails other)
public WorkerDetails.Builder mergeFrom(WorkerDetails other)
Parameter
Returns
public WorkerDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public WorkerDetails.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WorkerDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public WorkerDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WorkerDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final WorkerDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
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