Class TestDefinition.Cursor.Builder

Stay organized with collections Save and categorize content based on your preferences.
public static final class TestDefinition.Cursor.Builder extends GeneratedMessageV3.Builder<TestDefinition.Cursor.Builder> implements TestDefinition.CursorOrBuilder

Protobuf type google.cloud.conformance.firestore.v1.Cursor

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > com.google.protobuf.GeneratedMessageV3.Builder > TestDefinition.Cursor.Builder

Methods

addAllJsonValues(Iterable<String> values)

public TestDefinition.Cursor.Builder addAllJsonValues(Iterable<String> values)

repeated string json_values = 2;

Parameter
NameDescription
valuesjava.lang.Iterable<java.lang.String>

The jsonValues to add.

Returns
TypeDescription
TestDefinition.Cursor.Builder

This builder for chaining.

addJsonValues(String value)

public TestDefinition.Cursor.Builder addJsonValues(String value)

repeated string json_values = 2;

Parameter
NameDescription
valuejava.lang.String

The jsonValues to add.

Returns
TypeDescription
TestDefinition.Cursor.Builder

This builder for chaining.

addJsonValuesBytes(ByteString value)

public TestDefinition.Cursor.Builder addJsonValuesBytes(ByteString value)

repeated string json_values = 2;

Parameter
NameDescription
valuecom.google.protobuf.ByteString

The bytes of the jsonValues to add.

Returns
TypeDescription
TestDefinition.Cursor.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TestDefinition.Cursor.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldcom.google.protobuf.Descriptors.FieldDescriptor
valuejava.lang.Object
Returns
TypeDescription
TestDefinition.Cursor.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)

build()

public TestDefinition.Cursor build()
Returns
TypeDescription
TestDefinition.Cursor

buildPartial()

public TestDefinition.Cursor buildPartial()
Returns
TypeDescription
TestDefinition.Cursor

clear()

public TestDefinition.Cursor.Builder clear()
Returns
TypeDescription
TestDefinition.Cursor.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clear()

clearDocSnapshot()

public TestDefinition.Cursor.Builder clearDocSnapshot()

one of:

.google.cloud.conformance.firestore.v1.DocSnapshot doc_snapshot = 1;

Returns
TypeDescription
TestDefinition.Cursor.Builder

clearField(Descriptors.FieldDescriptor field)

public TestDefinition.Cursor.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldcom.google.protobuf.Descriptors.FieldDescriptor
Returns
TypeDescription
TestDefinition.Cursor.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor)

clearJsonValues()

public TestDefinition.Cursor.Builder clearJsonValues()

repeated string json_values = 2;

Returns
TypeDescription
TestDefinition.Cursor.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public TestDefinition.Cursor.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofcom.google.protobuf.Descriptors.OneofDescriptor
Returns
TypeDescription
TestDefinition.Cursor.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor)

clone()

public TestDefinition.Cursor.Builder clone()
Returns
TypeDescription
TestDefinition.Cursor.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.clone()

getDefaultInstanceForType()

public TestDefinition.Cursor getDefaultInstanceForType()
Returns
TypeDescription
TestDefinition.Cursor

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
com.google.protobuf.Descriptors.Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
com.google.protobuf.Descriptors.Descriptor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.getDescriptorForType()

getDocSnapshot()

public TestDefinition.DocSnapshot getDocSnapshot()

one of:

.google.cloud.conformance.firestore.v1.DocSnapshot doc_snapshot = 1;

Returns
TypeDescription
TestDefinition.DocSnapshot

The docSnapshot.

getDocSnapshotBuilder()

public TestDefinition.DocSnapshot.Builder getDocSnapshotBuilder()

one of:

.google.cloud.conformance.firestore.v1.DocSnapshot doc_snapshot = 1;

Returns
TypeDescription
TestDefinition.DocSnapshot.Builder

getDocSnapshotOrBuilder()

public TestDefinition.DocSnapshotOrBuilder getDocSnapshotOrBuilder()

one of:

.google.cloud.conformance.firestore.v1.DocSnapshot doc_snapshot = 1;

Returns
TypeDescription
TestDefinition.DocSnapshotOrBuilder

getJsonValues(int index)

public String getJsonValues(int index)

repeated string json_values = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
java.lang.String

The jsonValues at the given index.

getJsonValuesBytes(int index)

public ByteString getJsonValuesBytes(int index)

repeated string json_values = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
com.google.protobuf.ByteString

The bytes of the jsonValues at the given index.

getJsonValuesCount()

public int getJsonValuesCount()

repeated string json_values = 2;

Returns
TypeDescription
int

The count of jsonValues.

getJsonValuesList()

public ProtocolStringList getJsonValuesList()

repeated string json_values = 2;

Returns
TypeDescription
com.google.protobuf.ProtocolStringList

A list containing the jsonValues.

hasDocSnapshot()

public boolean hasDocSnapshot()

one of:

.google.cloud.conformance.firestore.v1.DocSnapshot doc_snapshot = 1;

Returns
TypeDescription
boolean

Whether the docSnapshot field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetFieldAccessorTable()

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.isInitialized()

mergeDocSnapshot(TestDefinition.DocSnapshot value)

public TestDefinition.Cursor.Builder mergeDocSnapshot(TestDefinition.DocSnapshot value)

one of:

.google.cloud.conformance.firestore.v1.DocSnapshot doc_snapshot = 1;

Parameter
NameDescription
valueTestDefinition.DocSnapshot
Returns
TypeDescription
TestDefinition.Cursor.Builder

mergeFrom(TestDefinition.Cursor other)

public TestDefinition.Cursor.Builder mergeFrom(TestDefinition.Cursor other)
Parameter
NameDescription
otherTestDefinition.Cursor
Returns
TypeDescription
TestDefinition.Cursor.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TestDefinition.Cursor.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputcom.google.protobuf.CodedInputStream
extensionRegistrycom.google.protobuf.ExtensionRegistryLite
Returns
TypeDescription
TestDefinition.Cursor.Builder
Overrides
com.google.protobuf.AbstractMessage.Builder.mergeFrom(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
Exceptions
TypeDescription
java.io.IOException

mergeFrom(Message other)

public TestDefinition.Cursor.Builder mergeFrom(Message other)
Parameter
NameDescription
othercom.google.protobuf.Message
Returns
TypeDescription
TestDefinition.Cursor.Builder
Overrides
com.google.protobuf.AbstractMessage.Builder.mergeFrom(com.google.protobuf.Message)

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TestDefinition.Cursor.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldscom.google.protobuf.UnknownFieldSet
Returns
TypeDescription
TestDefinition.Cursor.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet)

setDocSnapshot(TestDefinition.DocSnapshot value)

public TestDefinition.Cursor.Builder setDocSnapshot(TestDefinition.DocSnapshot value)

one of:

.google.cloud.conformance.firestore.v1.DocSnapshot doc_snapshot = 1;

Parameter
NameDescription
valueTestDefinition.DocSnapshot
Returns
TypeDescription
TestDefinition.Cursor.Builder

setDocSnapshot(TestDefinition.DocSnapshot.Builder builderForValue)

public TestDefinition.Cursor.Builder setDocSnapshot(TestDefinition.DocSnapshot.Builder builderForValue)

one of:

.google.cloud.conformance.firestore.v1.DocSnapshot doc_snapshot = 1;

Parameter
NameDescription
builderForValueTestDefinition.DocSnapshot.Builder
Returns
TypeDescription
TestDefinition.Cursor.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TestDefinition.Cursor.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldcom.google.protobuf.Descriptors.FieldDescriptor
valuejava.lang.Object
Returns
TypeDescription
TestDefinition.Cursor.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object)

setJsonValues(int index, String value)

public TestDefinition.Cursor.Builder setJsonValues(int index, String value)

repeated string json_values = 2;

Parameters
NameDescription
indexint

The index to set the value at.

valuejava.lang.String

The jsonValues to set.

Returns
TypeDescription
TestDefinition.Cursor.Builder

This builder for chaining.

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

public TestDefinition.Cursor.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldcom.google.protobuf.Descriptors.FieldDescriptor
indexint
valuejava.lang.Object
Returns
TypeDescription
TestDefinition.Cursor.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,int,java.lang.Object)

setUnknownFields(UnknownFieldSet unknownFields)

public final TestDefinition.Cursor.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldscom.google.protobuf.UnknownFieldSet
Returns
TypeDescription
TestDefinition.Cursor.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet)