Interface SegmentOrBuilder (0.52.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getOneSegmentScopeCase()

public abstract Segment.OneSegmentScopeCase getOneSegmentScopeCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the userSegment field is set.