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