Class DataStream
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.analytics.admin.v1alpha.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.v1alpha.DataStream- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classData specific to Android app streams.static interfacestatic final classA resource message representing a data stream.static enumThe type of the data stream.static final classData specific to iOS app streams.static interfacestatic enumstatic final classData specific to web streams.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanData specific to Android app streams.Data specific to Android app streams.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static DataStreamstatic final com.google.protobuf.Descriptors.DescriptorHuman-readable display name for the Data Stream.com.google.protobuf.ByteStringHuman-readable display name for the Data Stream.Data specific to iOS app streams.Data specific to iOS app streams.getName()Identifier.com.google.protobuf.ByteStringIdentifier.com.google.protobuf.Parser<DataStream>intgetType()Required.intRequired.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Data specific to web streams.Data specific to web streams.booleanData specific to Android app streams.booleanOutput only.inthashCode()booleanData specific to iOS app streams.booleanOutput only.booleanData specific to web streams.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic DataStream.Builderstatic DataStream.BuildernewBuilder(DataStream prototype) protected DataStream.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DataStreamparseDelimitedFrom(InputStream input) static DataStreamparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataStreamparseFrom(byte[] data) static DataStreamparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataStreamparseFrom(com.google.protobuf.ByteString data) static DataStreamparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataStreamparseFrom(com.google.protobuf.CodedInputStream input) static DataStreamparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataStreamparseFrom(InputStream input) static DataStreamparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DataStreamparseFrom(ByteBuffer data) static DataStreamparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DataStream>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getStreamDataCase
- Specified by:
getStreamDataCasein interfaceDataStreamOrBuilder
-
hasWebStreamData
public boolean hasWebStreamData()Data specific to web streams. Must be populated if type is WEB_DATA_STREAM.
.google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6;- Specified by:
hasWebStreamDatain interfaceDataStreamOrBuilder- Returns:
- Whether the webStreamData field is set.
-
getWebStreamData
Data specific to web streams. Must be populated if type is WEB_DATA_STREAM.
.google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6;- Specified by:
getWebStreamDatain interfaceDataStreamOrBuilder- Returns:
- The webStreamData.
-
getWebStreamDataOrBuilder
Data specific to web streams. Must be populated if type is WEB_DATA_STREAM.
.google.analytics.admin.v1alpha.DataStream.WebStreamData web_stream_data = 6;- Specified by:
getWebStreamDataOrBuilderin interfaceDataStreamOrBuilder
-
hasAndroidAppStreamData
public boolean hasAndroidAppStreamData()Data specific to Android app streams. Must be populated if type is ANDROID_APP_DATA_STREAM.
.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7;- Specified by:
hasAndroidAppStreamDatain interfaceDataStreamOrBuilder- Returns:
- Whether the androidAppStreamData field is set.
-
getAndroidAppStreamData
Data specific to Android app streams. Must be populated if type is ANDROID_APP_DATA_STREAM.
.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7;- Specified by:
getAndroidAppStreamDatain interfaceDataStreamOrBuilder- Returns:
- The androidAppStreamData.
-
getAndroidAppStreamDataOrBuilder
Data specific to Android app streams. Must be populated if type is ANDROID_APP_DATA_STREAM.
.google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData android_app_stream_data = 7;- Specified by:
getAndroidAppStreamDataOrBuilderin interfaceDataStreamOrBuilder
-
hasIosAppStreamData
public boolean hasIosAppStreamData()Data specific to iOS app streams. Must be populated if type is IOS_APP_DATA_STREAM.
.google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8;- Specified by:
hasIosAppStreamDatain interfaceDataStreamOrBuilder- Returns:
- Whether the iosAppStreamData field is set.
-
getIosAppStreamData
Data specific to iOS app streams. Must be populated if type is IOS_APP_DATA_STREAM.
.google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8;- Specified by:
getIosAppStreamDatain interfaceDataStreamOrBuilder- Returns:
- The iosAppStreamData.
-
getIosAppStreamDataOrBuilder
Data specific to iOS app streams. Must be populated if type is IOS_APP_DATA_STREAM.
.google.analytics.admin.v1alpha.DataStream.IosAppStreamData ios_app_stream_data = 8;- Specified by:
getIosAppStreamDataOrBuilderin interfaceDataStreamOrBuilder
-
getName
Identifier. 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) = IDENTIFIER];- Specified by:
getNamein interfaceDataStreamOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. 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) = IDENTIFIER];- Specified by:
getNameBytesin interfaceDataStreamOrBuilder- Returns:
- The bytes for name.
-
getTypeValue
public int getTypeValue()Required. Immutable. The type of this DataStream resource.
.google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];- Specified by:
getTypeValuein interfaceDataStreamOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
Required. Immutable. The type of this DataStream resource.
.google.analytics.admin.v1alpha.DataStream.DataStreamType type = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];- Specified by:
getTypein interfaceDataStreamOrBuilder- Returns:
- The type.
-
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:
getDisplayNamein interfaceDataStreamOrBuilder- 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:
getDisplayNameBytesin interfaceDataStreamOrBuilder- 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:
hasCreateTimein interfaceDataStreamOrBuilder- 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:
getCreateTimein interfaceDataStreamOrBuilder- 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:
getCreateTimeOrBuilderin interfaceDataStreamOrBuilder
-
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:
hasUpdateTimein interfaceDataStreamOrBuilder- 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:
getUpdateTimein interfaceDataStreamOrBuilder- 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:
getUpdateTimeOrBuilderin interfaceDataStreamOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static DataStream parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DataStream parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DataStream parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DataStream.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-