Class DataStream

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.analytics.admin.v1beta.DataStream
All Implemented Interfaces:
DataStreamOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DataStream extends com.google.protobuf.GeneratedMessage implements DataStreamOrBuilder
 A resource message representing a data stream.
 
Protobuf type google.analytics.admin.v1beta.DataStream
See Also:
  • Field Details

    • WEB_STREAM_DATA_FIELD_NUMBER

      public static final int WEB_STREAM_DATA_FIELD_NUMBER
      See Also:
    • ANDROID_APP_STREAM_DATA_FIELD_NUMBER

      public static final int ANDROID_APP_STREAM_DATA_FIELD_NUMBER
      See Also:
    • IOS_APP_STREAM_DATA_FIELD_NUMBER

      public static final int IOS_APP_STREAM_DATA_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • TYPE_FIELD_NUMBER

      public static final int TYPE_FIELD_NUMBER
      See Also:
    • DISPLAY_NAME_FIELD_NUMBER

      public static final int DISPLAY_NAME_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • UPDATE_TIME_FIELD_NUMBER

      public static final int UPDATE_TIME_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
    • getStreamDataCase

      public DataStream.StreamDataCase getStreamDataCase()
      Specified by:
      getStreamDataCase in interface DataStreamOrBuilder
    • hasWebStreamData

      public boolean hasWebStreamData()
       Data specific to web streams. Must be populated if type is
       WEB_DATA_STREAM.
       
      .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6;
      Specified by:
      hasWebStreamData in interface DataStreamOrBuilder
      Returns:
      Whether the webStreamData field is set.
    • getWebStreamData

      public DataStream.WebStreamData getWebStreamData()
       Data specific to web streams. Must be populated if type is
       WEB_DATA_STREAM.
       
      .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6;
      Specified by:
      getWebStreamData in interface DataStreamOrBuilder
      Returns:
      The webStreamData.
    • getWebStreamDataOrBuilder

      public DataStream.WebStreamDataOrBuilder getWebStreamDataOrBuilder()
       Data specific to web streams. Must be populated if type is
       WEB_DATA_STREAM.
       
      .google.analytics.admin.v1beta.DataStream.WebStreamData web_stream_data = 6;
      Specified by:
      getWebStreamDataOrBuilder in interface DataStreamOrBuilder
    • hasAndroidAppStreamData

      public boolean hasAndroidAppStreamData()
       Data specific to Android app streams. Must be populated if type is
       ANDROID_APP_DATA_STREAM.
       
      .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7;
      Specified by:
      hasAndroidAppStreamData in interface DataStreamOrBuilder
      Returns:
      Whether the androidAppStreamData field is set.
    • getAndroidAppStreamData

      public DataStream.AndroidAppStreamData getAndroidAppStreamData()
       Data specific to Android app streams. Must be populated if type is
       ANDROID_APP_DATA_STREAM.
       
      .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7;
      Specified by:
      getAndroidAppStreamData in interface DataStreamOrBuilder
      Returns:
      The androidAppStreamData.
    • getAndroidAppStreamDataOrBuilder

      public DataStream.AndroidAppStreamDataOrBuilder getAndroidAppStreamDataOrBuilder()
       Data specific to Android app streams. Must be populated if type is
       ANDROID_APP_DATA_STREAM.
       
      .google.analytics.admin.v1beta.DataStream.AndroidAppStreamData android_app_stream_data = 7;
      Specified by:
      getAndroidAppStreamDataOrBuilder in interface DataStreamOrBuilder
    • hasIosAppStreamData

      public boolean hasIosAppStreamData()
       Data specific to iOS app streams. Must be populated if type is
       IOS_APP_DATA_STREAM.
       
      .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8;
      Specified by:
      hasIosAppStreamData in interface DataStreamOrBuilder
      Returns:
      Whether the iosAppStreamData field is set.
    • getIosAppStreamData

      public DataStream.IosAppStreamData getIosAppStreamData()
       Data specific to iOS app streams. Must be populated if type is
       IOS_APP_DATA_STREAM.
       
      .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8;
      Specified by:
      getIosAppStreamData in interface DataStreamOrBuilder
      Returns:
      The iosAppStreamData.
    • getIosAppStreamDataOrBuilder

      public DataStream.IosAppStreamDataOrBuilder getIosAppStreamDataOrBuilder()
       Data specific to iOS app streams. Must be populated if type is
       IOS_APP_DATA_STREAM.
       
      .google.analytics.admin.v1beta.DataStream.IosAppStreamData ios_app_stream_data = 8;
      Specified by:
      getIosAppStreamDataOrBuilder in interface DataStreamOrBuilder
    • getName

      public String getName()
       Output only. Resource name of this Data Stream.
       Format: properties/{property_id}/dataStreams/{stream_id}
       Example: "properties/1000/dataStreams/2000"
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface DataStreamOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. Resource name of this Data Stream.
       Format: properties/{property_id}/dataStreams/{stream_id}
       Example: "properties/1000/dataStreams/2000"
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface DataStreamOrBuilder
      Returns:
      The bytes for name.
    • getTypeValue

      public int getTypeValue()
       Required. Immutable. The type of this DataStream resource.
       
      .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTypeValue in interface DataStreamOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • getType

      public DataStream.DataStreamType getType()
       Required. Immutable. The type of this DataStream resource.
       
      .google.analytics.admin.v1beta.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
      Specified by:
      getType in interface DataStreamOrBuilder
      Returns:
      The type.
    • getDisplayName

      public String getDisplayName()
       Human-readable display name for the Data Stream.
      
       Required for web data streams.
      
       The max allowed display name length is 255 UTF-16 code units.
       
      string display_name = 3;
      Specified by:
      getDisplayName in interface DataStreamOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Human-readable display name for the Data Stream.
      
       Required for web data streams.
      
       The max allowed display name length is 255 UTF-16 code units.
       
      string display_name = 3;
      Specified by:
      getDisplayNameBytes in interface DataStreamOrBuilder
      Returns:
      The bytes for displayName.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Time when this stream was originally created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface DataStreamOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Time when this stream was originally created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface DataStreamOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Time when this stream was originally created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface DataStreamOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Time when stream payload fields were last updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface DataStreamOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Time when stream payload fields were last updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface DataStreamOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Time when stream payload fields were last updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface DataStreamOrBuilder
    • 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 DataStream parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static DataStream.Builder newBuilder()
    • newBuilder

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

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

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

      public static DataStream getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<DataStream> 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 DataStream getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder