Class RawIndices.Builder (2.19.0)

public static final class RawIndices.Builder extends GeneratedMessageV3.Builder<RawIndices.Builder> implements RawIndicesOrBuilder

A set of raw indices to remove from a local list.

Protobuf type google.cloud.webrisk.v1beta1.RawIndices

Implements

RawIndicesOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllIndices(Iterable<? extends Integer> values)

public RawIndices.Builder addAllIndices(Iterable<? extends Integer> values)

The indices to remove from a lexicographically-sorted local list.

repeated int32 indices = 1;

Parameter
NameDescription
valuesIterable<? extends java.lang.Integer>

The indices to add.

Returns
TypeDescription
RawIndices.Builder

This builder for chaining.

addIndices(int value)

public RawIndices.Builder addIndices(int value)

The indices to remove from a lexicographically-sorted local list.

repeated int32 indices = 1;

Parameter
NameDescription
valueint

The indices to add.

Returns
TypeDescription
RawIndices.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RawIndices build()
Returns
TypeDescription
RawIndices

buildPartial()

public RawIndices buildPartial()
Returns
TypeDescription
RawIndices

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIndices()

public RawIndices.Builder clearIndices()

The indices to remove from a lexicographically-sorted local list.

repeated int32 indices = 1;

Returns
TypeDescription
RawIndices.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RawIndices getDefaultInstanceForType()
Returns
TypeDescription
RawIndices

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIndices(int index)

public int getIndices(int index)

The indices to remove from a lexicographically-sorted local list.

repeated int32 indices = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
int

The indices at the given index.

getIndicesCount()

public int getIndicesCount()

The indices to remove from a lexicographically-sorted local list.

repeated int32 indices = 1;

Returns
TypeDescription
int

The count of indices.

getIndicesList()

public List<Integer> getIndicesList()

The indices to remove from a lexicographically-sorted local list.

repeated int32 indices = 1;

Returns
TypeDescription
List<Integer>

A list containing the indices.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(RawIndices other)

public RawIndices.Builder mergeFrom(RawIndices other)
Parameter
NameDescription
otherRawIndices
Returns
TypeDescription
RawIndices.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setIndices(int index, int value)

public RawIndices.Builder setIndices(int index, int value)

The indices to remove from a lexicographically-sorted local list.

repeated int32 indices = 1;

Parameters
NameDescription
indexint

The index to set the value at.

valueint

The indices to set.

Returns
TypeDescription
RawIndices.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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