Class TestDefinition.OrderBy.Builder

public static final class TestDefinition.OrderBy.Builder extends GeneratedMessageV3.Builder<TestDefinition.OrderBy.Builder> implements TestDefinition.OrderByOrBuilder

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

Inheritance

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearDirection()

public TestDefinition.OrderBy.Builder clearDirection()

"asc" or "desc"

string direction = 2;

Returns
TypeDescription
TestDefinition.OrderBy.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPath()

public TestDefinition.OrderBy.Builder clearPath()

.google.cloud.conformance.firestore.v1.FieldPath path = 1;

Returns
TypeDescription
TestDefinition.OrderBy.Builder

clone()

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

getDefaultInstanceForType()

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

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

getDirection()

public String getDirection()

"asc" or "desc"

string direction = 2;

Returns
TypeDescription
java.lang.String

The direction.

getDirectionBytes()

public ByteString getDirectionBytes()

"asc" or "desc"

string direction = 2;

Returns
TypeDescription
com.google.protobuf.ByteString

The bytes for direction.

getPath()

public TestDefinition.FieldPath getPath()

.google.cloud.conformance.firestore.v1.FieldPath path = 1;

Returns
TypeDescription
TestDefinition.FieldPath

The path.

getPathBuilder()

public TestDefinition.FieldPath.Builder getPathBuilder()

.google.cloud.conformance.firestore.v1.FieldPath path = 1;

Returns
TypeDescription
TestDefinition.FieldPath.Builder

getPathOrBuilder()

public TestDefinition.FieldPathOrBuilder getPathOrBuilder()

.google.cloud.conformance.firestore.v1.FieldPath path = 1;

Returns
TypeDescription
TestDefinition.FieldPathOrBuilder

hasPath()

public boolean hasPath()

.google.cloud.conformance.firestore.v1.FieldPath path = 1;

Returns
TypeDescription
boolean

Whether the path 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()

mergeFrom(TestDefinition.OrderBy other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergePath(TestDefinition.FieldPath value)

public TestDefinition.OrderBy.Builder mergePath(TestDefinition.FieldPath value)

.google.cloud.conformance.firestore.v1.FieldPath path = 1;

Parameter
NameDescription
valueTestDefinition.FieldPath
Returns
TypeDescription
TestDefinition.OrderBy.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDirection(String value)

public TestDefinition.OrderBy.Builder setDirection(String value)

"asc" or "desc"

string direction = 2;

Parameter
NameDescription
valuejava.lang.String

The direction to set.

Returns
TypeDescription
TestDefinition.OrderBy.Builder

This builder for chaining.

setDirectionBytes(ByteString value)

public TestDefinition.OrderBy.Builder setDirectionBytes(ByteString value)

"asc" or "desc"

string direction = 2;

Parameter
NameDescription
valuecom.google.protobuf.ByteString

The bytes for direction to set.

Returns
TypeDescription
TestDefinition.OrderBy.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setPath(TestDefinition.FieldPath value)

public TestDefinition.OrderBy.Builder setPath(TestDefinition.FieldPath value)

.google.cloud.conformance.firestore.v1.FieldPath path = 1;

Parameter
NameDescription
valueTestDefinition.FieldPath
Returns
TypeDescription
TestDefinition.OrderBy.Builder

setPath(TestDefinition.FieldPath.Builder builderForValue)

public TestDefinition.OrderBy.Builder setPath(TestDefinition.FieldPath.Builder builderForValue)

.google.cloud.conformance.firestore.v1.FieldPath path = 1;

Parameter
NameDescription
builderForValueTestDefinition.FieldPath.Builder
Returns
TypeDescription
TestDefinition.OrderBy.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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