Class StreamingComputationRanges.Builder (0.57.0)

public static final class StreamingComputationRanges.Builder extends GeneratedMessageV3.Builder<StreamingComputationRanges.Builder> implements StreamingComputationRangesOrBuilder

Describes full or partial data disk assignment information of the computation ranges.

Protobuf type google.dataflow.v1beta3.StreamingComputationRanges

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllRangeAssignments(Iterable<? extends KeyRangeDataDiskAssignment> values)

public StreamingComputationRanges.Builder addAllRangeAssignments(Iterable<? extends KeyRangeDataDiskAssignment> values)

Data disk assignments for ranges from this computation.

repeated .google.dataflow.v1beta3.KeyRangeDataDiskAssignment range_assignments = 2;

Parameter
Name Description
values Iterable<? extends com.google.dataflow.v1beta3.KeyRangeDataDiskAssignment>
Returns
Type Description
StreamingComputationRanges.Builder

addRangeAssignments(KeyRangeDataDiskAssignment value)

public StreamingComputationRanges.Builder addRangeAssignments(KeyRangeDataDiskAssignment value)

Data disk assignments for ranges from this computation.

repeated .google.dataflow.v1beta3.KeyRangeDataDiskAssignment range_assignments = 2;

Parameter
Name Description
value KeyRangeDataDiskAssignment
Returns
Type Description
StreamingComputationRanges.Builder

addRangeAssignments(KeyRangeDataDiskAssignment.Builder builderForValue)

public StreamingComputationRanges.Builder addRangeAssignments(KeyRangeDataDiskAssignment.Builder builderForValue)

Data disk assignments for ranges from this computation.

repeated .google.dataflow.v1beta3.KeyRangeDataDiskAssignment range_assignments = 2;

Parameter
Name Description
builderForValue KeyRangeDataDiskAssignment.Builder
Returns
Type Description
StreamingComputationRanges.Builder

addRangeAssignments(int index, KeyRangeDataDiskAssignment value)

public StreamingComputationRanges.Builder addRangeAssignments(int index, KeyRangeDataDiskAssignment value)

Data disk assignments for ranges from this computation.

repeated .google.dataflow.v1beta3.KeyRangeDataDiskAssignment range_assignments = 2;

Parameters
Name Description
index int
value KeyRangeDataDiskAssignment
Returns
Type Description
StreamingComputationRanges.Builder

addRangeAssignments(int index, KeyRangeDataDiskAssignment.Builder builderForValue)

public StreamingComputationRanges.Builder addRangeAssignments(int index, KeyRangeDataDiskAssignment.Builder builderForValue)

Data disk assignments for ranges from this computation.

repeated .google.dataflow.v1beta3.KeyRangeDataDiskAssignment range_assignments = 2;

Parameters
Name Description
index int
builderForValue KeyRangeDataDiskAssignment.Builder
Returns
Type Description
StreamingComputationRanges.Builder

addRangeAssignmentsBuilder()

public KeyRangeDataDiskAssignment.Builder addRangeAssignmentsBuilder()

Data disk assignments for ranges from this computation.

repeated .google.dataflow.v1beta3.KeyRangeDataDiskAssignment range_assignments = 2;

Returns
Type Description
KeyRangeDataDiskAssignment.Builder

addRangeAssignmentsBuilder(int index)

public KeyRangeDataDiskAssignment.Builder addRangeAssignmentsBuilder(int index)

Data disk assignments for ranges from this computation.

repeated .google.dataflow.v1beta3.KeyRangeDataDiskAssignment range_assignments = 2;

Parameter
Name Description
index int
Returns
Type Description
KeyRangeDataDiskAssignment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StreamingComputationRanges build()
Returns
Type Description
StreamingComputationRanges

buildPartial()

public StreamingComputationRanges buildPartial()
Returns
Type Description
StreamingComputationRanges

clear()

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

clearComputationId()

public StreamingComputationRanges.Builder clearComputationId()

The ID of the computation.

string computation_id = 1;

Returns
Type Description
StreamingComputationRanges.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public StreamingComputationRanges.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StreamingComputationRanges.Builder
Overrides

clearRangeAssignments()

public StreamingComputationRanges.Builder clearRangeAssignments()

Data disk assignments for ranges from this computation.

repeated .google.dataflow.v1beta3.KeyRangeDataDiskAssignment range_assignments = 2;

Returns
Type Description
StreamingComputationRanges.Builder

clone()

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

getComputationId()

public String getComputationId()

The ID of the computation.

string computation_id = 1;

Returns
Type Description
String

The computationId.

getComputationIdBytes()

public ByteString getComputationIdBytes()

The ID of the computation.

string computation_id = 1;

Returns
Type Description
ByteString

The bytes for computationId.

getDefaultInstanceForType()

public StreamingComputationRanges getDefaultInstanceForType()
Returns
Type Description
StreamingComputationRanges

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRangeAssignments(int index)

public KeyRangeDataDiskAssignment getRangeAssignments(int index)

Data disk assignments for ranges from this computation.

repeated .google.dataflow.v1beta3.KeyRangeDataDiskAssignment range_assignments = 2;

Parameter
Name Description
index int
Returns
Type Description
KeyRangeDataDiskAssignment

getRangeAssignmentsBuilder(int index)

public KeyRangeDataDiskAssignment.Builder getRangeAssignmentsBuilder(int index)

Data disk assignments for ranges from this computation.

repeated .google.dataflow.v1beta3.KeyRangeDataDiskAssignment range_assignments = 2;

Parameter
Name Description
index int
Returns
Type Description
KeyRangeDataDiskAssignment.Builder

getRangeAssignmentsBuilderList()

public List<KeyRangeDataDiskAssignment.Builder> getRangeAssignmentsBuilderList()

Data disk assignments for ranges from this computation.

repeated .google.dataflow.v1beta3.KeyRangeDataDiskAssignment range_assignments = 2;

Returns
Type Description
List<Builder>

getRangeAssignmentsCount()

public int getRangeAssignmentsCount()

Data disk assignments for ranges from this computation.

repeated .google.dataflow.v1beta3.KeyRangeDataDiskAssignment range_assignments = 2;

Returns
Type Description
int

getRangeAssignmentsList()

public List<KeyRangeDataDiskAssignment> getRangeAssignmentsList()

Data disk assignments for ranges from this computation.

repeated .google.dataflow.v1beta3.KeyRangeDataDiskAssignment range_assignments = 2;

Returns
Type Description
List<KeyRangeDataDiskAssignment>

getRangeAssignmentsOrBuilder(int index)

public KeyRangeDataDiskAssignmentOrBuilder getRangeAssignmentsOrBuilder(int index)

Data disk assignments for ranges from this computation.

repeated .google.dataflow.v1beta3.KeyRangeDataDiskAssignment range_assignments = 2;

Parameter
Name Description
index int
Returns
Type Description
KeyRangeDataDiskAssignmentOrBuilder

getRangeAssignmentsOrBuilderList()

public List<? extends KeyRangeDataDiskAssignmentOrBuilder> getRangeAssignmentsOrBuilderList()

Data disk assignments for ranges from this computation.

repeated .google.dataflow.v1beta3.KeyRangeDataDiskAssignment range_assignments = 2;

Returns
Type Description
List<? extends com.google.dataflow.v1beta3.KeyRangeDataDiskAssignmentOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StreamingComputationRanges other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StreamingComputationRanges.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StreamingComputationRanges.Builder
Overrides

removeRangeAssignments(int index)

public StreamingComputationRanges.Builder removeRangeAssignments(int index)

Data disk assignments for ranges from this computation.

repeated .google.dataflow.v1beta3.KeyRangeDataDiskAssignment range_assignments = 2;

Parameter
Name Description
index int
Returns
Type Description
StreamingComputationRanges.Builder

setComputationId(String value)

public StreamingComputationRanges.Builder setComputationId(String value)

The ID of the computation.

string computation_id = 1;

Parameter
Name Description
value String

The computationId to set.

Returns
Type Description
StreamingComputationRanges.Builder

This builder for chaining.

setComputationIdBytes(ByteString value)

public StreamingComputationRanges.Builder setComputationIdBytes(ByteString value)

The ID of the computation.

string computation_id = 1;

Parameter
Name Description
value ByteString

The bytes for computationId to set.

Returns
Type Description
StreamingComputationRanges.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setRangeAssignments(int index, KeyRangeDataDiskAssignment value)

public StreamingComputationRanges.Builder setRangeAssignments(int index, KeyRangeDataDiskAssignment value)

Data disk assignments for ranges from this computation.

repeated .google.dataflow.v1beta3.KeyRangeDataDiskAssignment range_assignments = 2;

Parameters
Name Description
index int
value KeyRangeDataDiskAssignment
Returns
Type Description
StreamingComputationRanges.Builder

setRangeAssignments(int index, KeyRangeDataDiskAssignment.Builder builderForValue)

public StreamingComputationRanges.Builder setRangeAssignments(int index, KeyRangeDataDiskAssignment.Builder builderForValue)

Data disk assignments for ranges from this computation.

repeated .google.dataflow.v1beta3.KeyRangeDataDiskAssignment range_assignments = 2;

Parameters
Name Description
index int
builderForValue KeyRangeDataDiskAssignment.Builder
Returns
Type Description
StreamingComputationRanges.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final StreamingComputationRanges.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StreamingComputationRanges.Builder
Overrides