public static final class InListFilter.Builder extends GeneratedMessage.Builder<InListFilter.Builder> implements InListFilterOrBuilderThe result needs to be in a list of string values.
Protobuf type google.analytics.data.v1alpha.InListFilter
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > InListFilter.BuilderImplements
InListFilterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllValues(Iterable<String> values)
public InListFilter.Builder addAllValues(Iterable<String> values)The list of string values. Must be non-empty.
repeated string values = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The values to add. |
| Returns | |
|---|---|
| Type | Description |
InListFilter.Builder |
This builder for chaining. |
addValues(String value)
public InListFilter.Builder addValues(String value)The list of string values. Must be non-empty.
repeated string values = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe values to add. |
| Returns | |
|---|---|
| Type | Description |
InListFilter.Builder |
This builder for chaining. |
addValuesBytes(ByteString value)
public InListFilter.Builder addValuesBytes(ByteString value)The list of string values. Must be non-empty.
repeated string values = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the values to add. |
| Returns | |
|---|---|
| Type | Description |
InListFilter.Builder |
This builder for chaining. |
build()
public InListFilter build()| Returns | |
|---|---|
| Type | Description |
InListFilter |
|
buildPartial()
public InListFilter buildPartial()| Returns | |
|---|---|
| Type | Description |
InListFilter |
|
clear()
public InListFilter.Builder clear()| Returns | |
|---|---|
| Type | Description |
InListFilter.Builder |
|
clearCaseSensitive()
public InListFilter.Builder clearCaseSensitive()If true, the string value is case sensitive.
bool case_sensitive = 2;
| Returns | |
|---|---|
| Type | Description |
InListFilter.Builder |
This builder for chaining. |
clearValues()
public InListFilter.Builder clearValues()The list of string values. Must be non-empty.
repeated string values = 1;
| Returns | |
|---|---|
| Type | Description |
InListFilter.Builder |
This builder for chaining. |
getCaseSensitive()
public boolean getCaseSensitive()If true, the string value is case sensitive.
bool case_sensitive = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
The caseSensitive. |
getDefaultInstanceForType()
public InListFilter getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
InListFilter |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getValues(int index)
public String getValues(int index)The list of string values. Must be non-empty.
repeated string values = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The values at the given index. |
getValuesBytes(int index)
public ByteString getValuesBytes(int index)The list of string values. Must be non-empty.
repeated string values = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the values at the given index. |
getValuesCount()
public int getValuesCount()The list of string values. Must be non-empty.
repeated string values = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The count of values. |
getValuesList()
public ProtocolStringList getValuesList()The list of string values. Must be non-empty.
repeated string values = 1;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the values. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(InListFilter other)
public InListFilter.Builder mergeFrom(InListFilter other)| Parameter | |
|---|---|
| Name | Description |
other |
InListFilter |
| Returns | |
|---|---|
| Type | Description |
InListFilter.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public InListFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
InListFilter.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public InListFilter.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
InListFilter.Builder |
|
setCaseSensitive(boolean value)
public InListFilter.Builder setCaseSensitive(boolean value)If true, the string value is case sensitive.
bool case_sensitive = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe caseSensitive to set. |
| Returns | |
|---|---|
| Type | Description |
InListFilter.Builder |
This builder for chaining. |
setValues(int index, String value)
public InListFilter.Builder setValues(int index, String value)The list of string values. Must be non-empty.
repeated string values = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe values to set. |
| Returns | |
|---|---|
| Type | Description |
InListFilter.Builder |
This builder for chaining. |