public final class GlobalSiteTag extends GeneratedMessageV3 implements GlobalSiteTagOrBuilder
Read-only resource with the tag for sending data from a website to a
DataStream. Only present for web DataStream resources.
Protobuf type google.analytics.admin.v1alpha.GlobalSiteTag
Static Fields
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
SNIPPET_FIELD_NUMBER
public static final int SNIPPET_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static GlobalSiteTag getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static GlobalSiteTag.Builder newBuilder()
Returns
newBuilder(GlobalSiteTag prototype)
public static GlobalSiteTag.Builder newBuilder(GlobalSiteTag prototype)
Parameter
Returns
public static GlobalSiteTag parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static GlobalSiteTag parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static GlobalSiteTag parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GlobalSiteTag parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static GlobalSiteTag parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GlobalSiteTag parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GlobalSiteTag parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static GlobalSiteTag parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GlobalSiteTag parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static GlobalSiteTag parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static GlobalSiteTag parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GlobalSiteTag parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<GlobalSiteTag> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public GlobalSiteTag getDefaultInstanceForType()
Returns
getName()
Output only. Resource name for this GlobalSiteTag resource.
Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
Example: "properties/123/dataStreams/456/globalSiteTag"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Output only. Resource name for this GlobalSiteTag resource.
Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
Example: "properties/123/dataStreams/456/globalSiteTag"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getParserForType()
public Parser<GlobalSiteTag> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSnippet()
public String getSnippet()
Immutable. JavaScript code snippet to be pasted as the first item into the head tag of
every webpage to measure.
string snippet = 2 [(.google.api.field_behavior) = IMMUTABLE];
Returns
Type | Description |
String | The snippet.
|
getSnippetBytes()
public ByteString getSnippetBytes()
Immutable. JavaScript code snippet to be pasted as the first item into the head tag of
every webpage to measure.
string snippet = 2 [(.google.api.field_behavior) = IMMUTABLE];
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public GlobalSiteTag.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GlobalSiteTag.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public GlobalSiteTag.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions