Class TestDefinition.SetOption

public static final class TestDefinition.SetOption extends GeneratedMessageV3 implements TestDefinition.SetOptionOrBuilder

An option to the DocumentRef.Set call.

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

Inheritance

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

Fields

ALL_FIELD_NUMBER

public static final int ALL_FIELD_NUMBER
Field Value
TypeDescription
int

FIELDS_FIELD_NUMBER

public static final int FIELDS_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objjava.lang.Object
Returns
TypeDescription
boolean
Overrides
com.google.protobuf.AbstractMessage.equals(java.lang.Object)

getAll()

public boolean getAll()

if true, merge all fields ("fields" is ignored).

bool all = 1;

Returns
TypeDescription
boolean

The all.

getDefaultInstance()

public static TestDefinition.SetOption getDefaultInstance()
Returns
TypeDescription
TestDefinition.SetOption

getDefaultInstanceForType()

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

getDescriptor()

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

getFields(int index)

public TestDefinition.FieldPath getFields(int index)

field paths for a Merge option

repeated .google.cloud.conformance.firestore.v1.FieldPath fields = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
TestDefinition.FieldPath

getFieldsCount()

public int getFieldsCount()

field paths for a Merge option

repeated .google.cloud.conformance.firestore.v1.FieldPath fields = 2;

Returns
TypeDescription
int

getFieldsList()

public List<TestDefinition.FieldPath> getFieldsList()

field paths for a Merge option

repeated .google.cloud.conformance.firestore.v1.FieldPath fields = 2;

Returns
TypeDescription
java.util.List<FieldPath>

getFieldsOrBuilder(int index)

public TestDefinition.FieldPathOrBuilder getFieldsOrBuilder(int index)

field paths for a Merge option

repeated .google.cloud.conformance.firestore.v1.FieldPath fields = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
TestDefinition.FieldPathOrBuilder

getFieldsOrBuilderList()

public List<? extends TestDefinition.FieldPathOrBuilder> getFieldsOrBuilderList()

field paths for a Merge option

repeated .google.cloud.conformance.firestore.v1.FieldPath fields = 2;

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

getParserForType()

public Parser<TestDefinition.SetOption> getParserForType()
Returns
TypeDescription
com.google.protobuf.Parser<SetOption>
Overrides
com.google.protobuf.GeneratedMessageV3.getParserForType()

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides
com.google.protobuf.GeneratedMessageV3.getSerializedSize()

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
com.google.protobuf.UnknownFieldSet
Overrides
com.google.protobuf.GeneratedMessageV3.getUnknownFields()

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides
com.google.protobuf.AbstractMessage.hashCode()

internalGetFieldAccessorTable()

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

isInitialized()

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

newBuilder()

public static TestDefinition.SetOption.Builder newBuilder()
Returns
TypeDescription
TestDefinition.SetOption.Builder

newBuilder(TestDefinition.SetOption prototype)

public static TestDefinition.SetOption.Builder newBuilder(TestDefinition.SetOption prototype)
Parameter
NameDescription
prototypeTestDefinition.SetOption
Returns
TypeDescription
TestDefinition.SetOption.Builder

newBuilderForType()

public TestDefinition.SetOption.Builder newBuilderForType()
Returns
TypeDescription
TestDefinition.SetOption.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TestDefinition.SetOption.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentcom.google.protobuf.GeneratedMessageV3.BuilderParent
Returns
TypeDescription
TestDefinition.SetOption.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent)

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedcom.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Returns
TypeDescription
java.lang.Object
Overrides
com.google.protobuf.GeneratedMessageV3.newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter)

parseDelimitedFrom(InputStream input)

public static TestDefinition.SetOption parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputjava.io.InputStream
Returns
TypeDescription
TestDefinition.SetOption
Exceptions
TypeDescription
java.io.IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TestDefinition.SetOption parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputjava.io.InputStream
extensionRegistrycom.google.protobuf.ExtensionRegistryLite
Returns
TypeDescription
TestDefinition.SetOption
Exceptions
TypeDescription
java.io.IOException

parseFrom(byte[] data)

public static TestDefinition.SetOption parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TestDefinition.SetOption
Exceptions
TypeDescription
com.google.protobuf.InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TestDefinition.SetOption parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistrycom.google.protobuf.ExtensionRegistryLite
Returns
TypeDescription
TestDefinition.SetOption
Exceptions
TypeDescription
com.google.protobuf.InvalidProtocolBufferException

parseFrom(ByteString data)

public static TestDefinition.SetOption parseFrom(ByteString data)
Parameter
NameDescription
datacom.google.protobuf.ByteString
Returns
TypeDescription
TestDefinition.SetOption
Exceptions
TypeDescription
com.google.protobuf.InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TestDefinition.SetOption parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
datacom.google.protobuf.ByteString
extensionRegistrycom.google.protobuf.ExtensionRegistryLite
Returns
TypeDescription
TestDefinition.SetOption
Exceptions
TypeDescription
com.google.protobuf.InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TestDefinition.SetOption parseFrom(CodedInputStream input)
Parameter
NameDescription
inputcom.google.protobuf.CodedInputStream
Returns
TypeDescription
TestDefinition.SetOption
Exceptions
TypeDescription
java.io.IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TestDefinition.SetOption parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputcom.google.protobuf.CodedInputStream
extensionRegistrycom.google.protobuf.ExtensionRegistryLite
Returns
TypeDescription
TestDefinition.SetOption
Exceptions
TypeDescription
java.io.IOException

parseFrom(InputStream input)

public static TestDefinition.SetOption parseFrom(InputStream input)
Parameter
NameDescription
inputjava.io.InputStream
Returns
TypeDescription
TestDefinition.SetOption
Exceptions
TypeDescription
java.io.IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TestDefinition.SetOption parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputjava.io.InputStream
extensionRegistrycom.google.protobuf.ExtensionRegistryLite
Returns
TypeDescription
TestDefinition.SetOption
Exceptions
TypeDescription
java.io.IOException

parseFrom(ByteBuffer data)

public static TestDefinition.SetOption parseFrom(ByteBuffer data)
Parameter
NameDescription
datajava.nio.ByteBuffer
Returns
TypeDescription
TestDefinition.SetOption
Exceptions
TypeDescription
com.google.protobuf.InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TestDefinition.SetOption parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
datajava.nio.ByteBuffer
extensionRegistrycom.google.protobuf.ExtensionRegistryLite
Returns
TypeDescription
TestDefinition.SetOption
Exceptions
TypeDescription
com.google.protobuf.InvalidProtocolBufferException

parser()

public static Parser<TestDefinition.SetOption> parser()
Returns
TypeDescription
com.google.protobuf.Parser<SetOption>

toBuilder()

public TestDefinition.SetOption.Builder toBuilder()
Returns
TypeDescription
TestDefinition.SetOption.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputcom.google.protobuf.CodedOutputStream
Overrides
com.google.protobuf.GeneratedMessageV3.writeTo(com.google.protobuf.CodedOutputStream)
Exceptions
TypeDescription
java.io.IOException