public final class SessionSegment extends GeneratedMessageV3 implements SessionSegmentOrBuilder
Session segments are subsets of the sessions that occurred on your site or
app: for example, all the sessions that originated from a particular
advertising campaign.
Protobuf type google.analytics.data.v1alpha.SessionSegment
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
EXCLUSION_FIELD_NUMBER
public static final int EXCLUSION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SESSION_INCLUSION_CRITERIA_FIELD_NUMBER
public static final int SESSION_INCLUSION_CRITERIA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SessionSegment getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SessionSegment.Builder newBuilder()
newBuilder(SessionSegment prototype)
public static SessionSegment.Builder newBuilder(SessionSegment prototype)
public static SessionSegment parseDelimitedFrom(InputStream input)
public static SessionSegment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SessionSegment parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SessionSegment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SessionSegment parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SessionSegment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SessionSegment parseFrom(CodedInputStream input)
public static SessionSegment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SessionSegment parseFrom(InputStream input)
public static SessionSegment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SessionSegment parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SessionSegment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SessionSegment> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public SessionSegment getDefaultInstanceForType()
getExclusion()
public SessionSegmentExclusion getExclusion()
Defines which sessions are excluded in this segment. Optional.
.google.analytics.data.v1alpha.SessionSegmentExclusion exclusion = 2;
getExclusionOrBuilder()
public SessionSegmentExclusionOrBuilder getExclusionOrBuilder()
Defines which sessions are excluded in this segment. Optional.
.google.analytics.data.v1alpha.SessionSegmentExclusion exclusion = 2;
getParserForType()
public Parser<SessionSegment> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSessionInclusionCriteria()
public SessionSegmentCriteria getSessionInclusionCriteria()
Defines which sessions are included in this segment. Optional.
.google.analytics.data.v1alpha.SessionSegmentCriteria session_inclusion_criteria = 1;
getSessionInclusionCriteriaOrBuilder()
public SessionSegmentCriteriaOrBuilder getSessionInclusionCriteriaOrBuilder()
Defines which sessions are included in this segment. Optional.
.google.analytics.data.v1alpha.SessionSegmentCriteria session_inclusion_criteria = 1;
hasExclusion()
public boolean hasExclusion()
Defines which sessions are excluded in this segment. Optional.
.google.analytics.data.v1alpha.SessionSegmentExclusion exclusion = 2;
Returns |
Type |
Description |
boolean |
Whether the exclusion field is set.
|
hasSessionInclusionCriteria()
public boolean hasSessionInclusionCriteria()
Defines which sessions are included in this segment. Optional.
.google.analytics.data.v1alpha.SessionSegmentCriteria session_inclusion_criteria = 1;
Returns |
Type |
Description |
boolean |
Whether the sessionInclusionCriteria field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SessionSegment.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SessionSegment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public SessionSegment.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides