Interface SegmentOrBuilder (0.57.0)

public interface SegmentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEventSegment()

public abstract EventSegment getEventSegment()

Event segments are subsets of events that were triggered on your site or app.

.google.analytics.data.v1alpha.EventSegment event_segment = 4;

Returns
Type Description
EventSegment

The eventSegment.

getEventSegmentOrBuilder()

public abstract EventSegmentOrBuilder getEventSegmentOrBuilder()

Event segments are subsets of events that were triggered on your site or app.

.google.analytics.data.v1alpha.EventSegment event_segment = 4;

Returns
Type Description
EventSegmentOrBuilder

getName()

public abstract String getName()

The name for this segment. If unspecified, segments are named "Segment". This name defines string value returned by the segment dimension. The segment dimension prefixes segment names by the 1-based index number of the segment in the request (for example "1. Segment", "2. Segment", etc.).

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name for this segment. If unspecified, segments are named "Segment". This name defines string value returned by the segment dimension. The segment dimension prefixes segment names by the 1-based index number of the segment in the request (for example "1. Segment", "2. Segment", etc.).

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getOneSegmentScopeCase()

public abstract Segment.OneSegmentScopeCase getOneSegmentScopeCase()
Returns
Type Description
Segment.OneSegmentScopeCase

getSessionSegment()

public abstract SessionSegment getSessionSegment()

Session segments are subsets of the sessions that occurred on your site or app.

.google.analytics.data.v1alpha.SessionSegment session_segment = 3;

Returns
Type Description
SessionSegment

The sessionSegment.

getSessionSegmentOrBuilder()

public abstract SessionSegmentOrBuilder getSessionSegmentOrBuilder()

Session segments are subsets of the sessions that occurred on your site or app.

.google.analytics.data.v1alpha.SessionSegment session_segment = 3;

Returns
Type Description
SessionSegmentOrBuilder

getUserSegment()

public abstract UserSegment getUserSegment()

User segments are subsets of users who engaged with your site or app.

.google.analytics.data.v1alpha.UserSegment user_segment = 2;

Returns
Type Description
UserSegment

The userSegment.

getUserSegmentOrBuilder()

public abstract UserSegmentOrBuilder getUserSegmentOrBuilder()

User segments are subsets of users who engaged with your site or app.

.google.analytics.data.v1alpha.UserSegment user_segment = 2;

Returns
Type Description
UserSegmentOrBuilder

hasEventSegment()

public abstract boolean hasEventSegment()

Event segments are subsets of events that were triggered on your site or app.

.google.analytics.data.v1alpha.EventSegment event_segment = 4;

Returns
Type Description
boolean

Whether the eventSegment field is set.

hasSessionSegment()

public abstract boolean hasSessionSegment()

Session segments are subsets of the sessions that occurred on your site or app.

.google.analytics.data.v1alpha.SessionSegment session_segment = 3;

Returns
Type Description
boolean

Whether the sessionSegment field is set.

hasUserSegment()

public abstract boolean hasUserSegment()

User segments are subsets of users who engaged with your site or app.

.google.analytics.data.v1alpha.UserSegment user_segment = 2;

Returns
Type Description
boolean

Whether the userSegment field is set.