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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AudienceSimpleFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AudienceSimpleFilter build()
buildPartial()
public AudienceSimpleFilter buildPartial()
clear()
public AudienceSimpleFilter.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AudienceSimpleFilter.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public AudienceSimpleFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public AudienceSimpleFilter.Builder clone()
Overrides
getDefaultInstanceForType()
public AudienceSimpleFilter getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(AudienceSimpleFilter other)
public AudienceSimpleFilter.Builder mergeFrom(AudienceSimpleFilter other)
public AudienceSimpleFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AudienceSimpleFilter.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AudienceSimpleFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AudienceSimpleFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AudienceSimpleFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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];
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final AudienceSimpleFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides