public static final class SessionSegmentExclusion.Builder extends GeneratedMessageV3.Builder<SessionSegmentExclusion.Builder> implements SessionSegmentExclusionOrBuilder
Specifies which sessions are excluded in this segment.
Protobuf type google.analytics.data.v1alpha.SessionSegmentExclusion
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 SessionSegmentExclusion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SessionSegmentExclusion build()
Returns
buildPartial()
public SessionSegmentExclusion buildPartial()
Returns
clear()
public SessionSegmentExclusion.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SessionSegmentExclusion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SessionSegmentExclusion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSessionExclusionCriteria()
public SessionSegmentExclusion.Builder clearSessionExclusionCriteria()
If a session meets this condition, the session is excluded from
membership in the segment for the sessionExclusionDuration
.
.google.analytics.data.v1alpha.SessionSegmentCriteria session_exclusion_criteria = 2;
Returns
clearSessionExclusionDuration()
public SessionSegmentExclusion.Builder clearSessionExclusionDuration()
Specifies how long an exclusion will last if a session matches the
sessionExclusionCriteria
.
Optional. If unspecified, a sessionExclusionDuration
of
SESSION_EXCLUSION_TEMPORARY
is used.
.google.analytics.data.v1alpha.SessionExclusionDuration session_exclusion_duration = 1;
Returns
clone()
public SessionSegmentExclusion.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SessionSegmentExclusion getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getSessionExclusionCriteria()
public SessionSegmentCriteria getSessionExclusionCriteria()
If a session meets this condition, the session is excluded from
membership in the segment for the sessionExclusionDuration
.
.google.analytics.data.v1alpha.SessionSegmentCriteria session_exclusion_criteria = 2;
Returns
getSessionExclusionCriteriaBuilder()
public SessionSegmentCriteria.Builder getSessionExclusionCriteriaBuilder()
If a session meets this condition, the session is excluded from
membership in the segment for the sessionExclusionDuration
.
.google.analytics.data.v1alpha.SessionSegmentCriteria session_exclusion_criteria = 2;
Returns
getSessionExclusionCriteriaOrBuilder()
public SessionSegmentCriteriaOrBuilder getSessionExclusionCriteriaOrBuilder()
If a session meets this condition, the session is excluded from
membership in the segment for the sessionExclusionDuration
.
.google.analytics.data.v1alpha.SessionSegmentCriteria session_exclusion_criteria = 2;
Returns
getSessionExclusionDuration()
public SessionExclusionDuration getSessionExclusionDuration()
Specifies how long an exclusion will last if a session matches the
sessionExclusionCriteria
.
Optional. If unspecified, a sessionExclusionDuration
of
SESSION_EXCLUSION_TEMPORARY
is used.
.google.analytics.data.v1alpha.SessionExclusionDuration session_exclusion_duration = 1;
Returns
getSessionExclusionDurationValue()
public int getSessionExclusionDurationValue()
Specifies how long an exclusion will last if a session matches the
sessionExclusionCriteria
.
Optional. If unspecified, a sessionExclusionDuration
of
SESSION_EXCLUSION_TEMPORARY
is used.
.google.analytics.data.v1alpha.SessionExclusionDuration session_exclusion_duration = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for sessionExclusionDuration.
|
hasSessionExclusionCriteria()
public boolean hasSessionExclusionCriteria()
If a session meets this condition, the session is excluded from
membership in the segment for the sessionExclusionDuration
.
.google.analytics.data.v1alpha.SessionSegmentCriteria session_exclusion_criteria = 2;
Returns
Type | Description |
boolean | Whether the sessionExclusionCriteria field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SessionSegmentExclusion other)
public SessionSegmentExclusion.Builder mergeFrom(SessionSegmentExclusion other)
Parameter
Returns
public SessionSegmentExclusion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SessionSegmentExclusion.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeSessionExclusionCriteria(SessionSegmentCriteria value)
public SessionSegmentExclusion.Builder mergeSessionExclusionCriteria(SessionSegmentCriteria value)
If a session meets this condition, the session is excluded from
membership in the segment for the sessionExclusionDuration
.
.google.analytics.data.v1alpha.SessionSegmentCriteria session_exclusion_criteria = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SessionSegmentExclusion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SessionSegmentExclusion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SessionSegmentExclusion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSessionExclusionCriteria(SessionSegmentCriteria value)
public SessionSegmentExclusion.Builder setSessionExclusionCriteria(SessionSegmentCriteria value)
If a session meets this condition, the session is excluded from
membership in the segment for the sessionExclusionDuration
.
.google.analytics.data.v1alpha.SessionSegmentCriteria session_exclusion_criteria = 2;
Parameter
Returns
setSessionExclusionCriteria(SessionSegmentCriteria.Builder builderForValue)
public SessionSegmentExclusion.Builder setSessionExclusionCriteria(SessionSegmentCriteria.Builder builderForValue)
If a session meets this condition, the session is excluded from
membership in the segment for the sessionExclusionDuration
.
.google.analytics.data.v1alpha.SessionSegmentCriteria session_exclusion_criteria = 2;
Parameter
Returns
setSessionExclusionDuration(SessionExclusionDuration value)
public SessionSegmentExclusion.Builder setSessionExclusionDuration(SessionExclusionDuration value)
Specifies how long an exclusion will last if a session matches the
sessionExclusionCriteria
.
Optional. If unspecified, a sessionExclusionDuration
of
SESSION_EXCLUSION_TEMPORARY
is used.
.google.analytics.data.v1alpha.SessionExclusionDuration session_exclusion_duration = 1;
Parameter
Returns
setSessionExclusionDurationValue(int value)
public SessionSegmentExclusion.Builder setSessionExclusionDurationValue(int value)
Specifies how long an exclusion will last if a session matches the
sessionExclusionCriteria
.
Optional. If unspecified, a sessionExclusionDuration
of
SESSION_EXCLUSION_TEMPORARY
is used.
.google.analytics.data.v1alpha.SessionExclusionDuration session_exclusion_duration = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for sessionExclusionDuration to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final SessionSegmentExclusion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides