public static final class ExpandedDataSetFilter.StringFilter.Builder extends GeneratedMessageV3.Builder<ExpandedDataSetFilter.StringFilter.Builder> implements ExpandedDataSetFilter.StringFilterOrBuilder
A filter for a string-type dimension that matches a particular pattern.
Protobuf type google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter
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 ExpandedDataSetFilter.StringFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ExpandedDataSetFilter.StringFilter build()
Returns
buildPartial()
public ExpandedDataSetFilter.StringFilter buildPartial()
Returns
clear()
public ExpandedDataSetFilter.StringFilter.Builder clear()
Returns
Overrides
clearCaseSensitive()
public ExpandedDataSetFilter.StringFilter.Builder clearCaseSensitive()
Optional. If true, the match is case-sensitive. If false, the match is
case-insensitive.
Must be true when match_type is EXACT.
Must be false when match_type is CONTAINS.
bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
clearField(Descriptors.FieldDescriptor field)
public ExpandedDataSetFilter.StringFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMatchType()
public ExpandedDataSetFilter.StringFilter.Builder clearMatchType()
Required. The match type for the string filter.
.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ExpandedDataSetFilter.StringFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearValue()
public ExpandedDataSetFilter.StringFilter.Builder clearValue()
Required. The string value to be matched against.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public ExpandedDataSetFilter.StringFilter.Builder clone()
Returns
Overrides
getCaseSensitive()
public boolean getCaseSensitive()
Optional. If true, the match is case-sensitive. If false, the match is
case-insensitive.
Must be true when match_type is EXACT.
Must be false when match_type is CONTAINS.
bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | The caseSensitive.
|
getDefaultInstanceForType()
public ExpandedDataSetFilter.StringFilter getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMatchType()
public ExpandedDataSetFilter.StringFilter.MatchType getMatchType()
Required. The match type for the string filter.
.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getMatchTypeValue()
public int getMatchTypeValue()
Required. The match type for the string filter.
.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
int | The enum numeric value on the wire for matchType.
|
getValue()
Required. The string value to be matched against.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The value.
|
getValueBytes()
public ByteString getValueBytes()
Required. The string value to be matched against.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ExpandedDataSetFilter.StringFilter other)
public ExpandedDataSetFilter.StringFilter.Builder mergeFrom(ExpandedDataSetFilter.StringFilter other)
Parameter
Returns
public ExpandedDataSetFilter.StringFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ExpandedDataSetFilter.StringFilter.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExpandedDataSetFilter.StringFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setCaseSensitive(boolean value)
public ExpandedDataSetFilter.StringFilter.Builder setCaseSensitive(boolean value)
Optional. If true, the match is case-sensitive. If false, the match is
case-insensitive.
Must be true when match_type is EXACT.
Must be false when match_type is CONTAINS.
bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | boolean
The caseSensitive to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ExpandedDataSetFilter.StringFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMatchType(ExpandedDataSetFilter.StringFilter.MatchType value)
public ExpandedDataSetFilter.StringFilter.Builder setMatchType(ExpandedDataSetFilter.StringFilter.MatchType value)
Required. The match type for the string filter.
.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setMatchTypeValue(int value)
public ExpandedDataSetFilter.StringFilter.Builder setMatchTypeValue(int value)
Required. The match type for the string filter.
.google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | int
The enum numeric value on the wire for matchType to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExpandedDataSetFilter.StringFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ExpandedDataSetFilter.StringFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setValue(String value)
public ExpandedDataSetFilter.StringFilter.Builder setValue(String value)
Required. The string value to be matched against.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The value to set.
|
Returns
setValueBytes(ByteString value)
public ExpandedDataSetFilter.StringFilter.Builder setValueBytes(ByteString value)
Required. The string value to be matched against.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for value to set.
|
Returns