public static final class ExpandedDataSetFilter.StringFilter.Builder extends GeneratedMessage.Builder<ExpandedDataSetFilter.StringFilter.Builder> implements ExpandedDataSetFilter.StringFilterOrBuilderA filter for a string-type dimension that matches a particular pattern.
Protobuf type google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ExpandedDataSetFilter.StringFilter.BuilderImplements
ExpandedDataSetFilter.StringFilterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ExpandedDataSetFilter.StringFilter build()| Returns | |
|---|---|
| Type | Description |
ExpandedDataSetFilter.StringFilter |
|
buildPartial()
public ExpandedDataSetFilter.StringFilter buildPartial()| Returns | |
|---|---|
| Type | Description |
ExpandedDataSetFilter.StringFilter |
|
clear()
public ExpandedDataSetFilter.StringFilter.Builder clear()| Returns | |
|---|---|
| Type | Description |
ExpandedDataSetFilter.StringFilter.Builder |
|
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 | |
|---|---|
| Type | Description |
ExpandedDataSetFilter.StringFilter.Builder |
This builder for chaining. |
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 | |
|---|---|
| Type | Description |
ExpandedDataSetFilter.StringFilter.Builder |
This builder for chaining. |
clearValue()
public ExpandedDataSetFilter.StringFilter.Builder clearValue()Required. The string value to be matched against.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ExpandedDataSetFilter.StringFilter.Builder |
This builder for chaining. |
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 | |
|---|---|
| Type | Description |
ExpandedDataSetFilter.StringFilter |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| Type | Description |
ExpandedDataSetFilter.StringFilter.MatchType |
The matchType. |
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()
public String 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for value. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ExpandedDataSetFilter.StringFilter other)
public ExpandedDataSetFilter.StringFilter.Builder mergeFrom(ExpandedDataSetFilter.StringFilter other)| Parameter | |
|---|---|
| Name | Description |
other |
ExpandedDataSetFilter.StringFilter |
| Returns | |
|---|---|
| Type | Description |
ExpandedDataSetFilter.StringFilter.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExpandedDataSetFilter.StringFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExpandedDataSetFilter.StringFilter.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ExpandedDataSetFilter.StringFilter.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ExpandedDataSetFilter.StringFilter.Builder |
|
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 |
booleanThe caseSensitive to set. |
| Returns | |
|---|---|
| Type | Description |
ExpandedDataSetFilter.StringFilter.Builder |
This builder for chaining. |
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 | |
|---|---|
| Name | Description |
value |
ExpandedDataSetFilter.StringFilter.MatchTypeThe matchType to set. |
| Returns | |
|---|---|
| Type | Description |
ExpandedDataSetFilter.StringFilter.Builder |
This builder for chaining. |
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 |
intThe enum numeric value on the wire for matchType to set. |
| Returns | |
|---|---|
| Type | Description |
ExpandedDataSetFilter.StringFilter.Builder |
This builder for chaining. |
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 |
StringThe value to set. |
| Returns | |
|---|---|
| Type | Description |
ExpandedDataSetFilter.StringFilter.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for value to set. |
| Returns | |
|---|---|
| Type | Description |
ExpandedDataSetFilter.StringFilter.Builder |
This builder for chaining. |