- 0.65.0 (latest)
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
public static final class SegmentFilter.Builder extends GeneratedMessageV3.Builder<SegmentFilter.Builder> implements SegmentFilterOrBuilder
An expression to filter dimension or metric values.
Protobuf type google.analytics.data.v1alpha.SegmentFilter
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SegmentFilter.BuilderImplements
SegmentFilterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SegmentFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
build()
public SegmentFilter build()
Returns | |
---|---|
Type | Description |
SegmentFilter |
buildPartial()
public SegmentFilter buildPartial()
Returns | |
---|---|
Type | Description |
SegmentFilter |
clear()
public SegmentFilter.Builder clear()
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
clearBetweenFilter()
public SegmentFilter.Builder clearBetweenFilter()
A filter for between two values.
.google.analytics.data.v1alpha.BetweenFilter between_filter = 7;
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
clearField(Descriptors.FieldDescriptor field)
public SegmentFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
clearFieldName()
public SegmentFilter.Builder clearFieldName()
The dimension name or metric name.
string field_name = 1;
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
This builder for chaining. |
clearFilterScoping()
public SegmentFilter.Builder clearFilterScoping()
Specifies the scope for the filter.
.google.analytics.data.v1alpha.SegmentFilterScoping filter_scoping = 8;
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
clearInListFilter()
public SegmentFilter.Builder clearInListFilter()
A filter for in list values.
.google.analytics.data.v1alpha.InListFilter in_list_filter = 5;
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
clearNumericFilter()
public SegmentFilter.Builder clearNumericFilter()
A filter for numeric or date values.
.google.analytics.data.v1alpha.NumericFilter numeric_filter = 6;
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
clearOneFilter()
public SegmentFilter.Builder clearOneFilter()
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SegmentFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
clearStringFilter()
public SegmentFilter.Builder clearStringFilter()
Strings related filter.
.google.analytics.data.v1alpha.StringFilter string_filter = 4;
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
clone()
public SegmentFilter.Builder clone()
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
getBetweenFilter()
public BetweenFilter getBetweenFilter()
A filter for between two values.
.google.analytics.data.v1alpha.BetweenFilter between_filter = 7;
Returns | |
---|---|
Type | Description |
BetweenFilter |
The betweenFilter. |
getBetweenFilterBuilder()
public BetweenFilter.Builder getBetweenFilterBuilder()
A filter for between two values.
.google.analytics.data.v1alpha.BetweenFilter between_filter = 7;
Returns | |
---|---|
Type | Description |
BetweenFilter.Builder |
getBetweenFilterOrBuilder()
public BetweenFilterOrBuilder getBetweenFilterOrBuilder()
A filter for between two values.
.google.analytics.data.v1alpha.BetweenFilter between_filter = 7;
Returns | |
---|---|
Type | Description |
BetweenFilterOrBuilder |
getDefaultInstanceForType()
public SegmentFilter getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SegmentFilter |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFieldName()
public String getFieldName()
The dimension name or metric name.
string field_name = 1;
Returns | |
---|---|
Type | Description |
String |
The fieldName. |
getFieldNameBytes()
public ByteString getFieldNameBytes()
The dimension name or metric name.
string field_name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for fieldName. |
getFilterScoping()
public SegmentFilterScoping getFilterScoping()
Specifies the scope for the filter.
.google.analytics.data.v1alpha.SegmentFilterScoping filter_scoping = 8;
Returns | |
---|---|
Type | Description |
SegmentFilterScoping |
The filterScoping. |
getFilterScopingBuilder()
public SegmentFilterScoping.Builder getFilterScopingBuilder()
Specifies the scope for the filter.
.google.analytics.data.v1alpha.SegmentFilterScoping filter_scoping = 8;
Returns | |
---|---|
Type | Description |
SegmentFilterScoping.Builder |
getFilterScopingOrBuilder()
public SegmentFilterScopingOrBuilder getFilterScopingOrBuilder()
Specifies the scope for the filter.
.google.analytics.data.v1alpha.SegmentFilterScoping filter_scoping = 8;
Returns | |
---|---|
Type | Description |
SegmentFilterScopingOrBuilder |
getInListFilter()
public InListFilter getInListFilter()
A filter for in list values.
.google.analytics.data.v1alpha.InListFilter in_list_filter = 5;
Returns | |
---|---|
Type | Description |
InListFilter |
The inListFilter. |
getInListFilterBuilder()
public InListFilter.Builder getInListFilterBuilder()
A filter for in list values.
.google.analytics.data.v1alpha.InListFilter in_list_filter = 5;
Returns | |
---|---|
Type | Description |
InListFilter.Builder |
getInListFilterOrBuilder()
public InListFilterOrBuilder getInListFilterOrBuilder()
A filter for in list values.
.google.analytics.data.v1alpha.InListFilter in_list_filter = 5;
Returns | |
---|---|
Type | Description |
InListFilterOrBuilder |
getNumericFilter()
public NumericFilter getNumericFilter()
A filter for numeric or date values.
.google.analytics.data.v1alpha.NumericFilter numeric_filter = 6;
Returns | |
---|---|
Type | Description |
NumericFilter |
The numericFilter. |
getNumericFilterBuilder()
public NumericFilter.Builder getNumericFilterBuilder()
A filter for numeric or date values.
.google.analytics.data.v1alpha.NumericFilter numeric_filter = 6;
Returns | |
---|---|
Type | Description |
NumericFilter.Builder |
getNumericFilterOrBuilder()
public NumericFilterOrBuilder getNumericFilterOrBuilder()
A filter for numeric or date values.
.google.analytics.data.v1alpha.NumericFilter numeric_filter = 6;
Returns | |
---|---|
Type | Description |
NumericFilterOrBuilder |
getOneFilterCase()
public SegmentFilter.OneFilterCase getOneFilterCase()
Returns | |
---|---|
Type | Description |
SegmentFilter.OneFilterCase |
getStringFilter()
public StringFilter getStringFilter()
Strings related filter.
.google.analytics.data.v1alpha.StringFilter string_filter = 4;
Returns | |
---|---|
Type | Description |
StringFilter |
The stringFilter. |
getStringFilterBuilder()
public StringFilter.Builder getStringFilterBuilder()
Strings related filter.
.google.analytics.data.v1alpha.StringFilter string_filter = 4;
Returns | |
---|---|
Type | Description |
StringFilter.Builder |
getStringFilterOrBuilder()
public StringFilterOrBuilder getStringFilterOrBuilder()
Strings related filter.
.google.analytics.data.v1alpha.StringFilter string_filter = 4;
Returns | |
---|---|
Type | Description |
StringFilterOrBuilder |
hasBetweenFilter()
public boolean hasBetweenFilter()
A filter for between two values.
.google.analytics.data.v1alpha.BetweenFilter between_filter = 7;
Returns | |
---|---|
Type | Description |
boolean |
Whether the betweenFilter field is set. |
hasFilterScoping()
public boolean hasFilterScoping()
Specifies the scope for the filter.
.google.analytics.data.v1alpha.SegmentFilterScoping filter_scoping = 8;
Returns | |
---|---|
Type | Description |
boolean |
Whether the filterScoping field is set. |
hasInListFilter()
public boolean hasInListFilter()
A filter for in list values.
.google.analytics.data.v1alpha.InListFilter in_list_filter = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the inListFilter field is set. |
hasNumericFilter()
public boolean hasNumericFilter()
A filter for numeric or date values.
.google.analytics.data.v1alpha.NumericFilter numeric_filter = 6;
Returns | |
---|---|
Type | Description |
boolean |
Whether the numericFilter field is set. |
hasStringFilter()
public boolean hasStringFilter()
Strings related filter.
.google.analytics.data.v1alpha.StringFilter string_filter = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the stringFilter field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeBetweenFilter(BetweenFilter value)
public SegmentFilter.Builder mergeBetweenFilter(BetweenFilter value)
A filter for between two values.
.google.analytics.data.v1alpha.BetweenFilter between_filter = 7;
Parameter | |
---|---|
Name | Description |
value |
BetweenFilter |
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
mergeFilterScoping(SegmentFilterScoping value)
public SegmentFilter.Builder mergeFilterScoping(SegmentFilterScoping value)
Specifies the scope for the filter.
.google.analytics.data.v1alpha.SegmentFilterScoping filter_scoping = 8;
Parameter | |
---|---|
Name | Description |
value |
SegmentFilterScoping |
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
mergeFrom(SegmentFilter other)
public SegmentFilter.Builder mergeFrom(SegmentFilter other)
Parameter | |
---|---|
Name | Description |
other |
SegmentFilter |
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SegmentFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SegmentFilter.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
mergeInListFilter(InListFilter value)
public SegmentFilter.Builder mergeInListFilter(InListFilter value)
A filter for in list values.
.google.analytics.data.v1alpha.InListFilter in_list_filter = 5;
Parameter | |
---|---|
Name | Description |
value |
InListFilter |
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
mergeNumericFilter(NumericFilter value)
public SegmentFilter.Builder mergeNumericFilter(NumericFilter value)
A filter for numeric or date values.
.google.analytics.data.v1alpha.NumericFilter numeric_filter = 6;
Parameter | |
---|---|
Name | Description |
value |
NumericFilter |
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
mergeStringFilter(StringFilter value)
public SegmentFilter.Builder mergeStringFilter(StringFilter value)
Strings related filter.
.google.analytics.data.v1alpha.StringFilter string_filter = 4;
Parameter | |
---|---|
Name | Description |
value |
StringFilter |
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SegmentFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
setBetweenFilter(BetweenFilter value)
public SegmentFilter.Builder setBetweenFilter(BetweenFilter value)
A filter for between two values.
.google.analytics.data.v1alpha.BetweenFilter between_filter = 7;
Parameter | |
---|---|
Name | Description |
value |
BetweenFilter |
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
setBetweenFilter(BetweenFilter.Builder builderForValue)
public SegmentFilter.Builder setBetweenFilter(BetweenFilter.Builder builderForValue)
A filter for between two values.
.google.analytics.data.v1alpha.BetweenFilter between_filter = 7;
Parameter | |
---|---|
Name | Description |
builderForValue |
BetweenFilter.Builder |
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SegmentFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
setFieldName(String value)
public SegmentFilter.Builder setFieldName(String value)
The dimension name or metric name.
string field_name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The fieldName to set. |
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
This builder for chaining. |
setFieldNameBytes(ByteString value)
public SegmentFilter.Builder setFieldNameBytes(ByteString value)
The dimension name or metric name.
string field_name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for fieldName to set. |
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
This builder for chaining. |
setFilterScoping(SegmentFilterScoping value)
public SegmentFilter.Builder setFilterScoping(SegmentFilterScoping value)
Specifies the scope for the filter.
.google.analytics.data.v1alpha.SegmentFilterScoping filter_scoping = 8;
Parameter | |
---|---|
Name | Description |
value |
SegmentFilterScoping |
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
setFilterScoping(SegmentFilterScoping.Builder builderForValue)
public SegmentFilter.Builder setFilterScoping(SegmentFilterScoping.Builder builderForValue)
Specifies the scope for the filter.
.google.analytics.data.v1alpha.SegmentFilterScoping filter_scoping = 8;
Parameter | |
---|---|
Name | Description |
builderForValue |
SegmentFilterScoping.Builder |
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
setInListFilter(InListFilter value)
public SegmentFilter.Builder setInListFilter(InListFilter value)
A filter for in list values.
.google.analytics.data.v1alpha.InListFilter in_list_filter = 5;
Parameter | |
---|---|
Name | Description |
value |
InListFilter |
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
setInListFilter(InListFilter.Builder builderForValue)
public SegmentFilter.Builder setInListFilter(InListFilter.Builder builderForValue)
A filter for in list values.
.google.analytics.data.v1alpha.InListFilter in_list_filter = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
InListFilter.Builder |
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
setNumericFilter(NumericFilter value)
public SegmentFilter.Builder setNumericFilter(NumericFilter value)
A filter for numeric or date values.
.google.analytics.data.v1alpha.NumericFilter numeric_filter = 6;
Parameter | |
---|---|
Name | Description |
value |
NumericFilter |
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
setNumericFilter(NumericFilter.Builder builderForValue)
public SegmentFilter.Builder setNumericFilter(NumericFilter.Builder builderForValue)
A filter for numeric or date values.
.google.analytics.data.v1alpha.NumericFilter numeric_filter = 6;
Parameter | |
---|---|
Name | Description |
builderForValue |
NumericFilter.Builder |
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SegmentFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
setStringFilter(StringFilter value)
public SegmentFilter.Builder setStringFilter(StringFilter value)
Strings related filter.
.google.analytics.data.v1alpha.StringFilter string_filter = 4;
Parameter | |
---|---|
Name | Description |
value |
StringFilter |
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
setStringFilter(StringFilter.Builder builderForValue)
public SegmentFilter.Builder setStringFilter(StringFilter.Builder builderForValue)
Strings related filter.
.google.analytics.data.v1alpha.StringFilter string_filter = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
StringFilter.Builder |
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SegmentFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SegmentFilter.Builder |