public static final class AudienceSimpleFilter.Builder extends GeneratedMessageV3.Builder<AudienceSimpleFilter.Builder> implements AudienceSimpleFilterOrBuilder
Defines a simple filter that a user must satisfy to be a member of the
Audience.
Protobuf type google.analytics.admin.v1alpha.AudienceSimpleFilter
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AudienceSimpleFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AudienceSimpleFilter build()
Returns
buildPartial()
public AudienceSimpleFilter buildPartial()
Returns
clear()
public AudienceSimpleFilter.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public AudienceSimpleFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearFilterExpression()
public AudienceSimpleFilter.Builder clearFilterExpression()
Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
.google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public AudienceSimpleFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearScope()
public AudienceSimpleFilter.Builder clearScope()
Required. Immutable. Specifies the scope for this filter.
.google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Returns
clone()
public AudienceSimpleFilter.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AudienceSimpleFilter getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFilterExpression()
public AudienceFilterExpression getFilterExpression()
Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
.google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Returns
getFilterExpressionBuilder()
public AudienceFilterExpression.Builder getFilterExpressionBuilder()
Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
.google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Returns
getFilterExpressionOrBuilder()
public AudienceFilterExpressionOrBuilder getFilterExpressionOrBuilder()
Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
.google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Returns
getScope()
public AudienceFilterScope getScope()
Required. Immutable. Specifies the scope for this filter.
.google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Returns
getScopeValue()
public int getScopeValue()
Required. Immutable. Specifies the scope for this filter.
.google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Returns
Type | Description |
int | The enum numeric value on the wire for scope.
|
hasFilterExpression()
public boolean hasFilterExpression()
Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
.google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Returns
Type | Description |
boolean | Whether the filterExpression field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFilterExpression(AudienceFilterExpression value)
public AudienceSimpleFilter.Builder mergeFilterExpression(AudienceFilterExpression value)
Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
.google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Parameter
Returns
mergeFrom(AudienceSimpleFilter other)
public AudienceSimpleFilter.Builder mergeFrom(AudienceSimpleFilter other)
Parameter
Returns
public AudienceSimpleFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AudienceSimpleFilter.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AudienceSimpleFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AudienceSimpleFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setFilterExpression(AudienceFilterExpression value)
public AudienceSimpleFilter.Builder setFilterExpression(AudienceFilterExpression value)
Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
.google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Parameter
Returns
setFilterExpression(AudienceFilterExpression.Builder builderForValue)
public AudienceSimpleFilter.Builder setFilterExpression(AudienceFilterExpression.Builder builderForValue)
Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
.google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AudienceSimpleFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setScope(AudienceFilterScope value)
public AudienceSimpleFilter.Builder setScope(AudienceFilterScope value)
Required. Immutable. Specifies the scope for this filter.
.google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Parameter
Returns
setScopeValue(int value)
public AudienceSimpleFilter.Builder setScopeValue(int value)
Required. Immutable. Specifies the scope for this filter.
.google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Parameter
Name | Description |
value | int
The enum numeric value on the wire for scope to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final AudienceSimpleFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides