Class SessionSegmentExclusion

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.analytics.data.v1alpha.SessionSegmentExclusion
All Implemented Interfaces:
SessionSegmentExclusionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class SessionSegmentExclusion extends com.google.protobuf.GeneratedMessage implements SessionSegmentExclusionOrBuilder
 Specifies which sessions are excluded in this segment.
 
Protobuf type google.analytics.data.v1alpha.SessionSegmentExclusion
See Also:
  • Field Details

    • SESSION_EXCLUSION_DURATION_FIELD_NUMBER

      public static final int SESSION_EXCLUSION_DURATION_FIELD_NUMBER
      See Also:
    • SESSION_EXCLUSION_CRITERIA_FIELD_NUMBER

      public static final int SESSION_EXCLUSION_CRITERIA_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getSessionExclusionDurationValue

      public int getSessionExclusionDurationValue()
       Specifies how long an exclusion will last if a session matches the
       `sessionExclusionCriteria`.
      
       Optional. If unspecified, a `sessionExclusionDuration` of
       `SESSION_EXCLUSION_TEMPORARY` is used.
       
      .google.analytics.data.v1alpha.SessionExclusionDuration session_exclusion_duration = 1;
      Specified by:
      getSessionExclusionDurationValue in interface SessionSegmentExclusionOrBuilder
      Returns:
      The enum numeric value on the wire for sessionExclusionDuration.
    • getSessionExclusionDuration

      public SessionExclusionDuration getSessionExclusionDuration()
       Specifies how long an exclusion will last if a session matches the
       `sessionExclusionCriteria`.
      
       Optional. If unspecified, a `sessionExclusionDuration` of
       `SESSION_EXCLUSION_TEMPORARY` is used.
       
      .google.analytics.data.v1alpha.SessionExclusionDuration session_exclusion_duration = 1;
      Specified by:
      getSessionExclusionDuration in interface SessionSegmentExclusionOrBuilder
      Returns:
      The sessionExclusionDuration.
    • hasSessionExclusionCriteria

      public boolean hasSessionExclusionCriteria()
       If a session meets this condition, the session is excluded from
       membership in the segment for the `sessionExclusionDuration`.
       
      .google.analytics.data.v1alpha.SessionSegmentCriteria session_exclusion_criteria = 2;
      Specified by:
      hasSessionExclusionCriteria in interface SessionSegmentExclusionOrBuilder
      Returns:
      Whether the sessionExclusionCriteria field is set.
    • getSessionExclusionCriteria

      public SessionSegmentCriteria getSessionExclusionCriteria()
       If a session meets this condition, the session is excluded from
       membership in the segment for the `sessionExclusionDuration`.
       
      .google.analytics.data.v1alpha.SessionSegmentCriteria session_exclusion_criteria = 2;
      Specified by:
      getSessionExclusionCriteria in interface SessionSegmentExclusionOrBuilder
      Returns:
      The sessionExclusionCriteria.
    • getSessionExclusionCriteriaOrBuilder

      public SessionSegmentCriteriaOrBuilder getSessionExclusionCriteriaOrBuilder()
       If a session meets this condition, the session is excluded from
       membership in the segment for the `sessionExclusionDuration`.
       
      .google.analytics.data.v1alpha.SessionSegmentCriteria session_exclusion_criteria = 2;
      Specified by:
      getSessionExclusionCriteriaOrBuilder in interface SessionSegmentExclusionOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static SessionSegmentExclusion parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SessionSegmentExclusion parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SessionSegmentExclusion parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SessionSegmentExclusion parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SessionSegmentExclusion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SessionSegmentExclusion parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SessionSegmentExclusion parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SessionSegmentExclusion parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SessionSegmentExclusion parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SessionSegmentExclusion parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SessionSegmentExclusion parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SessionSegmentExclusion parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public SessionSegmentExclusion.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static SessionSegmentExclusion.Builder newBuilder()
    • newBuilder

      public static SessionSegmentExclusion.Builder newBuilder(SessionSegmentExclusion prototype)
    • toBuilder

      public SessionSegmentExclusion.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected SessionSegmentExclusion.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static SessionSegmentExclusion getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SessionSegmentExclusion> parser()
    • getParserForType

      public com.google.protobuf.Parser<SessionSegmentExclusion> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public SessionSegmentExclusion getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder