public static final class SessionSegment.Builder extends GeneratedMessageV3.Builder<SessionSegment.Builder> 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.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 SessionSegment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SessionSegment build()
buildPartial()
public SessionSegment buildPartial()
clear()
public SessionSegment.Builder clear()
Overrides
clearExclusion()
public SessionSegment.Builder clearExclusion()
Defines which sessions are excluded in this segment. Optional.
.google.analytics.data.v1alpha.SessionSegmentExclusion exclusion = 2;
clearField(Descriptors.FieldDescriptor field)
public SessionSegment.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SessionSegment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSessionInclusionCriteria()
public SessionSegment.Builder clearSessionInclusionCriteria()
Defines which sessions are included in this segment. Optional.
.google.analytics.data.v1alpha.SessionSegmentCriteria session_inclusion_criteria = 1;
clone()
public SessionSegment.Builder clone()
Overrides
getDefaultInstanceForType()
public SessionSegment getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getExclusion()
public SessionSegmentExclusion getExclusion()
Defines which sessions are excluded in this segment. Optional.
.google.analytics.data.v1alpha.SessionSegmentExclusion exclusion = 2;
getExclusionBuilder()
public SessionSegmentExclusion.Builder getExclusionBuilder()
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;
getSessionInclusionCriteria()
public SessionSegmentCriteria getSessionInclusionCriteria()
Defines which sessions are included in this segment. Optional.
.google.analytics.data.v1alpha.SessionSegmentCriteria session_inclusion_criteria = 1;
getSessionInclusionCriteriaBuilder()
public SessionSegmentCriteria.Builder getSessionInclusionCriteriaBuilder()
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeExclusion(SessionSegmentExclusion value)
public SessionSegment.Builder mergeExclusion(SessionSegmentExclusion value)
Defines which sessions are excluded in this segment. Optional.
.google.analytics.data.v1alpha.SessionSegmentExclusion exclusion = 2;
mergeFrom(SessionSegment other)
public SessionSegment.Builder mergeFrom(SessionSegment other)
public SessionSegment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SessionSegment.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeSessionInclusionCriteria(SessionSegmentCriteria value)
public SessionSegment.Builder mergeSessionInclusionCriteria(SessionSegmentCriteria value)
Defines which sessions are included in this segment. Optional.
.google.analytics.data.v1alpha.SessionSegmentCriteria session_inclusion_criteria = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SessionSegment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setExclusion(SessionSegmentExclusion value)
public SessionSegment.Builder setExclusion(SessionSegmentExclusion value)
Defines which sessions are excluded in this segment. Optional.
.google.analytics.data.v1alpha.SessionSegmentExclusion exclusion = 2;
setExclusion(SessionSegmentExclusion.Builder builderForValue)
public SessionSegment.Builder setExclusion(SessionSegmentExclusion.Builder builderForValue)
Defines which sessions are excluded in this segment. Optional.
.google.analytics.data.v1alpha.SessionSegmentExclusion exclusion = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public SessionSegment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SessionSegment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSessionInclusionCriteria(SessionSegmentCriteria value)
public SessionSegment.Builder setSessionInclusionCriteria(SessionSegmentCriteria value)
Defines which sessions are included in this segment. Optional.
.google.analytics.data.v1alpha.SessionSegmentCriteria session_inclusion_criteria = 1;
setSessionInclusionCriteria(SessionSegmentCriteria.Builder builderForValue)
public SessionSegment.Builder setSessionInclusionCriteria(SessionSegmentCriteria.Builder builderForValue)
Defines which sessions are included in this segment. Optional.
.google.analytics.data.v1alpha.SessionSegmentCriteria session_inclusion_criteria = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final SessionSegment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides