Class StreamingComputationRanges.Builder (0.24.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.dataflow.v1beta3.KeyRangeDataDiskAssignment>
Returns
TypeDescription
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
NameDescription
valueKeyRangeDataDiskAssignment
Returns
TypeDescription
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
NameDescription
builderForValueKeyRangeDataDiskAssignment.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueKeyRangeDataDiskAssignment
Returns
TypeDescription
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
NameDescription
indexint
builderForValueKeyRangeDataDiskAssignment.Builder
Returns
TypeDescription
StreamingComputationRanges.Builder

addRangeAssignmentsBuilder()

public KeyRangeDataDiskAssignment.Builder addRangeAssignmentsBuilder()

Data disk assignments for ranges from this computation.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
KeyRangeDataDiskAssignment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StreamingComputationRanges build()
Returns
TypeDescription
StreamingComputationRanges

buildPartial()

public StreamingComputationRanges buildPartial()
Returns
TypeDescription
StreamingComputationRanges

clear()

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

clearComputationId()

public StreamingComputationRanges.Builder clearComputationId()

The ID of the computation.

string computation_id = 1;

Returns
TypeDescription
StreamingComputationRanges.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public StreamingComputationRanges.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
StreamingComputationRanges.Builder

clone()

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

getComputationId()

public String getComputationId()

The ID of the computation.

string computation_id = 1;

Returns
TypeDescription
String

The computationId.

getComputationIdBytes()

public ByteString getComputationIdBytes()

The ID of the computation.

string computation_id = 1;

Returns
TypeDescription
ByteString

The bytes for computationId.

getDefaultInstanceForType()

public StreamingComputationRanges getDefaultInstanceForType()
Returns
TypeDescription
StreamingComputationRanges

getDescriptorForType()

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

getRangeAssignmentsCount()

public int getRangeAssignmentsCount()

Data disk assignments for ranges from this computation.

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

Returns
TypeDescription
int

getRangeAssignmentsList()

public List<KeyRangeDataDiskAssignment> getRangeAssignmentsList()

Data disk assignments for ranges from this computation.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
KeyRangeDataDiskAssignmentOrBuilder

getRangeAssignmentsOrBuilderList()

public List<? extends KeyRangeDataDiskAssignmentOrBuilder> getRangeAssignmentsOrBuilderList()

Data disk assignments for ranges from this computation.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StreamingComputationRanges other)

public StreamingComputationRanges.Builder mergeFrom(StreamingComputationRanges other)
Parameter
NameDescription
otherStreamingComputationRanges
Returns
TypeDescription
StreamingComputationRanges.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StreamingComputationRanges.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
StreamingComputationRanges.Builder

setComputationId(String value)

public StreamingComputationRanges.Builder setComputationId(String value)

The ID of the computation.

string computation_id = 1;

Parameter
NameDescription
valueString

The computationId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for computationId to set.

Returns
TypeDescription
StreamingComputationRanges.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public StreamingComputationRanges.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueKeyRangeDataDiskAssignment
Returns
TypeDescription
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
NameDescription
indexint
builderForValueKeyRangeDataDiskAssignment.Builder
Returns
TypeDescription
StreamingComputationRanges.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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