Class CreateConnectedSiteTagRequest (0.56.0)

public final class CreateConnectedSiteTagRequest extends GeneratedMessageV3 implements CreateConnectedSiteTagRequestOrBuilder

Request message for CreateConnectedSiteTag RPC.

Protobuf type google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest

Static Fields

CONNECTED_SITE_TAG_FIELD_NUMBER

public static final int CONNECTED_SITE_TAG_FIELD_NUMBER
Field Value
Type Description
int

PROPERTY_FIELD_NUMBER

public static final int PROPERTY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreateConnectedSiteTagRequest getDefaultInstance()
Returns
Type Description
CreateConnectedSiteTagRequest

getDescriptor()

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

newBuilder()

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

newBuilder(CreateConnectedSiteTagRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConnectedSiteTag()

public ConnectedSiteTag getConnectedSiteTag()

Required. The tag to add to the Universal Analytics property

.google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConnectedSiteTag

The connectedSiteTag.

getConnectedSiteTagOrBuilder()

public ConnectedSiteTagOrBuilder getConnectedSiteTagOrBuilder()

Required. The tag to add to the Universal Analytics property

.google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConnectedSiteTagOrBuilder

getDefaultInstanceForType()

public CreateConnectedSiteTagRequest getDefaultInstanceForType()
Returns
Type Description
CreateConnectedSiteTagRequest

getParserForType()

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

getProperty()

public String getProperty()

The Universal Analytics property to create connected site tags for. This API does not support GA4 properties. Format: properties/{universalAnalyticsPropertyId} Example: properties/1234

string property = 1;

Returns
Type Description
String

The property.

getPropertyBytes()

public ByteString getPropertyBytes()

The Universal Analytics property to create connected site tags for. This API does not support GA4 properties. Format: properties/{universalAnalyticsPropertyId} Example: properties/1234

string property = 1;

Returns
Type Description
ByteString

The bytes for property.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasConnectedSiteTag()

public boolean hasConnectedSiteTag()

Required. The tag to add to the Universal Analytics property

.google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the connectedSiteTag field is set.

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 CreateConnectedSiteTagRequest.Builder newBuilderForType()
Returns
Type Description
CreateConnectedSiteTagRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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