Class CreateConnectedSiteTagRequest (0.24.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
TypeDescription
int

PROPERTY_FIELD_NUMBER

public static final int PROPERTY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateConnectedSiteTagRequest getDefaultInstance()
Returns
TypeDescription
CreateConnectedSiteTagRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CreateConnectedSiteTagRequest.Builder newBuilder()
Returns
TypeDescription
CreateConnectedSiteTagRequest.Builder

newBuilder(CreateConnectedSiteTagRequest prototype)

public static CreateConnectedSiteTagRequest.Builder newBuilder(CreateConnectedSiteTagRequest prototype)
Parameter
NameDescription
prototypeCreateConnectedSiteTagRequest
Returns
TypeDescription
CreateConnectedSiteTagRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateConnectedSiteTagRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateConnectedSiteTagRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateConnectedSiteTagRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConnectedSiteTagRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CreateConnectedSiteTagRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateConnectedSiteTagRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateConnectedSiteTagRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConnectedSiteTagRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateConnectedSiteTagRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateConnectedSiteTagRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateConnectedSiteTagRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConnectedSiteTagRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateConnectedSiteTagRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateConnectedSiteTagRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateConnectedSiteTagRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConnectedSiteTagRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateConnectedSiteTagRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateConnectedSiteTagRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateConnectedSiteTagRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConnectedSiteTagRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CreateConnectedSiteTagRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateConnectedSiteTagRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateConnectedSiteTagRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConnectedSiteTagRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CreateConnectedSiteTagRequest> parser()
Returns
TypeDescription
Parser<CreateConnectedSiteTagRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ConnectedSiteTagOrBuilder

getDefaultInstanceForType()

public CreateConnectedSiteTagRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateConnectedSiteTagRequest

getParserForType()

public Parser<CreateConnectedSiteTagRequest> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for property.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
boolean

Whether the connectedSiteTag field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CreateConnectedSiteTagRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateConnectedSiteTagRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateConnectedSiteTagRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateConnectedSiteTagRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CreateConnectedSiteTagRequest.Builder toBuilder()
Returns
TypeDescription
CreateConnectedSiteTagRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException