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.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 SessionSegment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SessionSegment build()
Returns
buildPartial()
public SessionSegment buildPartial()
Returns
clear()
public SessionSegment.Builder clear()
Returns
Overrides
clearExclusion()
public SessionSegment.Builder clearExclusion()
Defines which sessions are excluded in this segment. Optional.
.google.analytics.data.v1alpha.SessionSegmentExclusion exclusion = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public SessionSegment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SessionSegment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSessionInclusionCriteria()
public SessionSegment.Builder clearSessionInclusionCriteria()
Defines which sessions are included in this segment. Optional.
.google.analytics.data.v1alpha.SessionSegmentCriteria session_inclusion_criteria = 1;
Returns
clone()
public SessionSegment.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SessionSegment getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getExclusion()
public SessionSegmentExclusion getExclusion()
Defines which sessions are excluded in this segment. Optional.
.google.analytics.data.v1alpha.SessionSegmentExclusion exclusion = 2;
Returns
getExclusionBuilder()
public SessionSegmentExclusion.Builder getExclusionBuilder()
Defines which sessions are excluded in this segment. Optional.
.google.analytics.data.v1alpha.SessionSegmentExclusion exclusion = 2;
Returns
getExclusionOrBuilder()
public SessionSegmentExclusionOrBuilder getExclusionOrBuilder()
Defines which sessions are excluded in this segment. Optional.
.google.analytics.data.v1alpha.SessionSegmentExclusion exclusion = 2;
Returns
getSessionInclusionCriteria()
public SessionSegmentCriteria getSessionInclusionCriteria()
Defines which sessions are included in this segment. Optional.
.google.analytics.data.v1alpha.SessionSegmentCriteria session_inclusion_criteria = 1;
Returns
getSessionInclusionCriteriaBuilder()
public SessionSegmentCriteria.Builder getSessionInclusionCriteriaBuilder()
Defines which sessions are included in this segment. Optional.
.google.analytics.data.v1alpha.SessionSegmentCriteria session_inclusion_criteria = 1;
Returns
getSessionInclusionCriteriaOrBuilder()
public SessionSegmentCriteriaOrBuilder getSessionInclusionCriteriaOrBuilder()
Defines which sessions are included in this segment. Optional.
.google.analytics.data.v1alpha.SessionSegmentCriteria session_inclusion_criteria = 1;
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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;
Parameter
Returns
mergeFrom(SessionSegment other)
public SessionSegment.Builder mergeFrom(SessionSegment other)
Parameter
Returns
public SessionSegment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SessionSegment.Builder mergeFrom(Message other)
Parameter
Returns
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;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SessionSegment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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;
Parameter
Returns
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;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SessionSegment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SessionSegment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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;
Parameter
Returns
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;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final SessionSegment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides