Class TestDefinition.TestFile.Builder

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

A collection of tests.

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

Inheritance

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

Methods

addAllTests(Iterable<? extends TestDefinition.Test> values)

public TestDefinition.TestFile.Builder addAllTests(Iterable<? extends TestDefinition.Test> values)

repeated .google.cloud.conformance.firestore.v1.Test tests = 1;

Parameter
NameDescription
valuesjava.lang.Iterable<? extends com.google.cloud.conformance.firestore.v1.TestDefinition.Test>
Returns
TypeDescription
TestDefinition.TestFile.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTests(TestDefinition.Test value)

public TestDefinition.TestFile.Builder addTests(TestDefinition.Test value)

repeated .google.cloud.conformance.firestore.v1.Test tests = 1;

Parameter
NameDescription
valueTestDefinition.Test
Returns
TypeDescription
TestDefinition.TestFile.Builder

addTests(TestDefinition.Test.Builder builderForValue)

public TestDefinition.TestFile.Builder addTests(TestDefinition.Test.Builder builderForValue)

repeated .google.cloud.conformance.firestore.v1.Test tests = 1;

Parameter
NameDescription
builderForValueTestDefinition.Test.Builder
Returns
TypeDescription
TestDefinition.TestFile.Builder

addTests(int index, TestDefinition.Test value)

public TestDefinition.TestFile.Builder addTests(int index, TestDefinition.Test value)

repeated .google.cloud.conformance.firestore.v1.Test tests = 1;

Parameters
NameDescription
indexint
valueTestDefinition.Test
Returns
TypeDescription
TestDefinition.TestFile.Builder

addTests(int index, TestDefinition.Test.Builder builderForValue)

public TestDefinition.TestFile.Builder addTests(int index, TestDefinition.Test.Builder builderForValue)

repeated .google.cloud.conformance.firestore.v1.Test tests = 1;

Parameters
NameDescription
indexint
builderForValueTestDefinition.Test.Builder
Returns
TypeDescription
TestDefinition.TestFile.Builder

addTestsBuilder()

public TestDefinition.Test.Builder addTestsBuilder()

repeated .google.cloud.conformance.firestore.v1.Test tests = 1;

Returns
TypeDescription
TestDefinition.Test.Builder

addTestsBuilder(int index)

public TestDefinition.Test.Builder addTestsBuilder(int index)

repeated .google.cloud.conformance.firestore.v1.Test tests = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TestDefinition.Test.Builder

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTests()

public TestDefinition.TestFile.Builder clearTests()

repeated .google.cloud.conformance.firestore.v1.Test tests = 1;

Returns
TypeDescription
TestDefinition.TestFile.Builder

clone()

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

getDefaultInstanceForType()

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

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()

getTests(int index)

public TestDefinition.Test getTests(int index)

repeated .google.cloud.conformance.firestore.v1.Test tests = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TestDefinition.Test

getTestsBuilder(int index)

public TestDefinition.Test.Builder getTestsBuilder(int index)

repeated .google.cloud.conformance.firestore.v1.Test tests = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TestDefinition.Test.Builder

getTestsBuilderList()

public List<TestDefinition.Test.Builder> getTestsBuilderList()

repeated .google.cloud.conformance.firestore.v1.Test tests = 1;

Returns
TypeDescription
java.util.List<Builder>

getTestsCount()

public int getTestsCount()

repeated .google.cloud.conformance.firestore.v1.Test tests = 1;

Returns
TypeDescription
int

getTestsList()

public List<TestDefinition.Test> getTestsList()

repeated .google.cloud.conformance.firestore.v1.Test tests = 1;

Returns
TypeDescription
java.util.List<Test>

getTestsOrBuilder(int index)

public TestDefinition.TestOrBuilder getTestsOrBuilder(int index)

repeated .google.cloud.conformance.firestore.v1.Test tests = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TestDefinition.TestOrBuilder

getTestsOrBuilderList()

public List<? extends TestDefinition.TestOrBuilder> getTestsOrBuilderList()

repeated .google.cloud.conformance.firestore.v1.Test tests = 1;

Returns
TypeDescription
java.util.List<? extends com.google.cloud.conformance.firestore.v1.TestDefinition.TestOrBuilder>

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()

mergeFrom(TestDefinition.TestFile other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TestDefinition.TestFile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputcom.google.protobuf.CodedInputStream
extensionRegistrycom.google.protobuf.ExtensionRegistryLite
Returns
TypeDescription
TestDefinition.TestFile.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.TestFile.Builder mergeFrom(Message other)
Parameter
NameDescription
othercom.google.protobuf.Message
Returns
TypeDescription
TestDefinition.TestFile.Builder
Overrides
com.google.protobuf.AbstractMessage.Builder.mergeFrom(com.google.protobuf.Message)

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTests(int index)

public TestDefinition.TestFile.Builder removeTests(int index)

repeated .google.cloud.conformance.firestore.v1.Test tests = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TestDefinition.TestFile.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTests(int index, TestDefinition.Test value)

public TestDefinition.TestFile.Builder setTests(int index, TestDefinition.Test value)

repeated .google.cloud.conformance.firestore.v1.Test tests = 1;

Parameters
NameDescription
indexint
valueTestDefinition.Test
Returns
TypeDescription
TestDefinition.TestFile.Builder

setTests(int index, TestDefinition.Test.Builder builderForValue)

public TestDefinition.TestFile.Builder setTests(int index, TestDefinition.Test.Builder builderForValue)

repeated .google.cloud.conformance.firestore.v1.Test tests = 1;

Parameters
NameDescription
indexint
builderForValueTestDefinition.Test.Builder
Returns
TypeDescription
TestDefinition.TestFile.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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