Class AccessStringFilter.Builder (0.14.0)

public static final class AccessStringFilter.Builder extends GeneratedMessageV3.Builder<AccessStringFilter.Builder> implements AccessStringFilterOrBuilder

The filter for strings.

Protobuf type google.analytics.admin.v1alpha.AccessStringFilter

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AccessStringFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AccessStringFilter.Builder
Overrides

build()

public AccessStringFilter build()
Returns
TypeDescription
AccessStringFilter

buildPartial()

public AccessStringFilter buildPartial()
Returns
TypeDescription
AccessStringFilter

clear()

public AccessStringFilter.Builder clear()
Returns
TypeDescription
AccessStringFilter.Builder
Overrides

clearCaseSensitive()

public AccessStringFilter.Builder clearCaseSensitive()

If true, the string value is case sensitive.

bool case_sensitive = 3;

Returns
TypeDescription
AccessStringFilter.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AccessStringFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AccessStringFilter.Builder
Overrides

clearMatchType()

public AccessStringFilter.Builder clearMatchType()

The match type for this filter.

.google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1;

Returns
TypeDescription
AccessStringFilter.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AccessStringFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AccessStringFilter.Builder
Overrides

clearValue()

public AccessStringFilter.Builder clearValue()

The string value used for the matching.

string value = 2;

Returns
TypeDescription
AccessStringFilter.Builder

This builder for chaining.

clone()

public AccessStringFilter.Builder clone()
Returns
TypeDescription
AccessStringFilter.Builder
Overrides

getCaseSensitive()

public boolean getCaseSensitive()

If true, the string value is case sensitive.

bool case_sensitive = 3;

Returns
TypeDescription
boolean

The caseSensitive.

getDefaultInstanceForType()

public AccessStringFilter getDefaultInstanceForType()
Returns
TypeDescription
AccessStringFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMatchType()

public AccessStringFilter.MatchType getMatchType()

The match type for this filter.

.google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1;

Returns
TypeDescription
AccessStringFilter.MatchType

The matchType.

getMatchTypeValue()

public int getMatchTypeValue()

The match type for this filter.

.google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for matchType.

getValue()

public String getValue()

The string value used for the matching.

string value = 2;

Returns
TypeDescription
String

The value.

getValueBytes()

public ByteString getValueBytes()

The string value used for the matching.

string value = 2;

Returns
TypeDescription
ByteString

The bytes for value.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AccessStringFilter other)

public AccessStringFilter.Builder mergeFrom(AccessStringFilter other)
Parameter
NameDescription
otherAccessStringFilter
Returns
TypeDescription
AccessStringFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AccessStringFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AccessStringFilter.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AccessStringFilter.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AccessStringFilter.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AccessStringFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AccessStringFilter.Builder
Overrides

setCaseSensitive(boolean value)

public AccessStringFilter.Builder setCaseSensitive(boolean value)

If true, the string value is case sensitive.

bool case_sensitive = 3;

Parameter
NameDescription
valueboolean

The caseSensitive to set.

Returns
TypeDescription
AccessStringFilter.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AccessStringFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AccessStringFilter.Builder
Overrides

setMatchType(AccessStringFilter.MatchType value)

public AccessStringFilter.Builder setMatchType(AccessStringFilter.MatchType value)

The match type for this filter.

.google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1;

Parameter
NameDescription
valueAccessStringFilter.MatchType

The matchType to set.

Returns
TypeDescription
AccessStringFilter.Builder

This builder for chaining.

setMatchTypeValue(int value)

public AccessStringFilter.Builder setMatchTypeValue(int value)

The match type for this filter.

.google.analytics.admin.v1alpha.AccessStringFilter.MatchType match_type = 1;

Parameter
NameDescription
valueint

The enum numeric value on the wire for matchType to set.

Returns
TypeDescription
AccessStringFilter.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AccessStringFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AccessStringFilter.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AccessStringFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AccessStringFilter.Builder
Overrides

setValue(String value)

public AccessStringFilter.Builder setValue(String value)

The string value used for the matching.

string value = 2;

Parameter
NameDescription
valueString

The value to set.

Returns
TypeDescription
AccessStringFilter.Builder

This builder for chaining.

setValueBytes(ByteString value)

public AccessStringFilter.Builder setValueBytes(ByteString value)

The string value used for the matching.

string value = 2;

Parameter
NameDescription
valueByteString

The bytes for value to set.

Returns
TypeDescription
AccessStringFilter.Builder

This builder for chaining.