Class ConnectedSiteTag (0.61.0)

public final class ConnectedSiteTag extends GeneratedMessageV3 implements ConnectedSiteTagOrBuilder

Configuration for a specific Connected Site Tag.

Protobuf type google.analytics.admin.v1alpha.ConnectedSiteTag

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

TAG_ID_FIELD_NUMBER

public static final int TAG_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ConnectedSiteTag getDefaultInstance()
Returns
Type Description
ConnectedSiteTag

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ConnectedSiteTag.Builder newBuilder()
Returns
Type Description
ConnectedSiteTag.Builder

newBuilder(ConnectedSiteTag prototype)

public static ConnectedSiteTag.Builder newBuilder(ConnectedSiteTag prototype)
Parameter
Name Description
prototype ConnectedSiteTag
Returns
Type Description
ConnectedSiteTag.Builder

parseDelimitedFrom(InputStream input)

public static ConnectedSiteTag parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConnectedSiteTag
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConnectedSiteTag parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectedSiteTag
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ConnectedSiteTag parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ConnectedSiteTag
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ConnectedSiteTag parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectedSiteTag
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ConnectedSiteTag parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ConnectedSiteTag
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ConnectedSiteTag parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectedSiteTag
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ConnectedSiteTag parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ConnectedSiteTag
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ConnectedSiteTag parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectedSiteTag
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ConnectedSiteTag parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConnectedSiteTag
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConnectedSiteTag parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectedSiteTag
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ConnectedSiteTag parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ConnectedSiteTag
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ConnectedSiteTag parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConnectedSiteTag
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ConnectedSiteTag> parser()
Returns
Type Description
Parser<ConnectedSiteTag>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ConnectedSiteTag getDefaultInstanceForType()
Returns
Type Description
ConnectedSiteTag

getDisplayName()

public String getDisplayName()

Required. User-provided display name for the connected site tag. Must be less than 256 characters.

string display_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. User-provided display name for the connected site tag. Must be less than 256 characters.

string display_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for displayName.

getParserForType()

public Parser<ConnectedSiteTag> getParserForType()
Returns
Type Description
Parser<ConnectedSiteTag>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTagId()

public String getTagId()

Required. "Tag ID to forward events to. Also known as the Measurement ID, or the "G-ID" (For example: G-12345).

string tag_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The tagId.

getTagIdBytes()

public ByteString getTagIdBytes()

Required. "Tag ID to forward events to. Also known as the Measurement ID, or the "G-ID" (For example: G-12345).

string tag_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for tagId.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ConnectedSiteTag.Builder newBuilderForType()
Returns
Type Description
ConnectedSiteTag.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ConnectedSiteTag.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ConnectedSiteTag.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ConnectedSiteTag.Builder toBuilder()
Returns
Type Description
ConnectedSiteTag.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException