Class ConditionalMatches.Builder

public static final class ConditionalMatches.Builder extends GeneratedMessageV3.Builder<ConditionalMatches.Builder> implements ConditionalMatchesOrBuilder

Protobuf type google.cloud.conformance.storage.v1.ConditionalMatches

Inheritance

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

Methods

addAllExpression(Iterable<String> values)

public ConditionalMatches.Builder addAllExpression(Iterable<String> values)

repeated string expression = 1;

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

The expression to add.

Returns
TypeDescription
ConditionalMatches.Builder

This builder for chaining.

addExpression(String value)

public ConditionalMatches.Builder addExpression(String value)

repeated string expression = 1;

Parameter
NameDescription
valuejava.lang.String

The expression to add.

Returns
TypeDescription
ConditionalMatches.Builder

This builder for chaining.

addExpressionBytes(ByteString value)

public ConditionalMatches.Builder addExpressionBytes(ByteString value)

repeated string expression = 1;

Parameter
NameDescription
valuecom.google.protobuf.ByteString

The bytes of the expression to add.

Returns
TypeDescription
ConditionalMatches.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConditionalMatches build()
Returns
TypeDescription
ConditionalMatches

buildPartial()

public ConditionalMatches buildPartial()
Returns
TypeDescription
ConditionalMatches

clear()

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

clearExpression()

public ConditionalMatches.Builder clearExpression()

repeated string expression = 1;

Returns
TypeDescription
ConditionalMatches.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ConditionalMatches getDefaultInstanceForType()
Returns
TypeDescription
ConditionalMatches

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

getExpression(int index)

public String getExpression(int index)

repeated string expression = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
java.lang.String

The expression at the given index.

getExpressionBytes(int index)

public ByteString getExpressionBytes(int index)

repeated string expression = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
com.google.protobuf.ByteString

The bytes of the expression at the given index.

getExpressionCount()

public int getExpressionCount()

repeated string expression = 1;

Returns
TypeDescription
int

The count of expression.

getExpressionList()

public ProtocolStringList getExpressionList()

repeated string expression = 1;

Returns
TypeDescription
com.google.protobuf.ProtocolStringList

A list containing the expression.

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

public ConditionalMatches.Builder mergeFrom(ConditionalMatches other)
Parameter
NameDescription
otherConditionalMatches
Returns
TypeDescription
ConditionalMatches.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setExpression(int index, String value)

public ConditionalMatches.Builder setExpression(int index, String value)

repeated string expression = 1;

Parameters
NameDescription
indexint

The index to set the value at.

valuejava.lang.String

The expression to set.

Returns
TypeDescription
ConditionalMatches.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ConditionalMatches.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldcom.google.protobuf.Descriptors.FieldDescriptor
valuejava.lang.Object
Returns
TypeDescription
ConditionalMatches.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 ConditionalMatches.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldcom.google.protobuf.Descriptors.FieldDescriptor
indexint
valuejava.lang.Object
Returns
TypeDescription
ConditionalMatches.Builder
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor,int,java.lang.Object)

setUnknownFields(UnknownFieldSet unknownFields)

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