public final class SessionSegmentExclusion extends GeneratedMessageV3 implements SessionSegmentExclusionOrBuilder
Specifies which sessions are excluded in this segment.
Protobuf type google.analytics.data.v1alpha.SessionSegmentExclusion
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
SESSION_EXCLUSION_CRITERIA_FIELD_NUMBER
public static final int SESSION_EXCLUSION_CRITERIA_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SESSION_EXCLUSION_DURATION_FIELD_NUMBER
public static final int SESSION_EXCLUSION_DURATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static SessionSegmentExclusion getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SessionSegmentExclusion.Builder newBuilder()
newBuilder(SessionSegmentExclusion prototype)
public static SessionSegmentExclusion.Builder newBuilder(SessionSegmentExclusion prototype)
public static SessionSegmentExclusion parseDelimitedFrom(InputStream input)
public static SessionSegmentExclusion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SessionSegmentExclusion parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SessionSegmentExclusion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SessionSegmentExclusion parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SessionSegmentExclusion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SessionSegmentExclusion parseFrom(CodedInputStream input)
public static SessionSegmentExclusion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SessionSegmentExclusion parseFrom(InputStream input)
public static SessionSegmentExclusion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SessionSegmentExclusion parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SessionSegmentExclusion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SessionSegmentExclusion> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public SessionSegmentExclusion getDefaultInstanceForType()
getParserForType()
public Parser<SessionSegmentExclusion> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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;
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SessionSegmentExclusion.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SessionSegmentExclusion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public SessionSegmentExclusion.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides