Class CreateConnectedSiteTagRequest.Builder (0.63.0)

public static final class CreateConnectedSiteTagRequest.Builder extends GeneratedMessageV3.Builder<CreateConnectedSiteTagRequest.Builder> implements CreateConnectedSiteTagRequestOrBuilder

Request message for CreateConnectedSiteTag RPC.

Protobuf type google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateConnectedSiteTagRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateConnectedSiteTagRequest.Builder
Overrides

build()

public CreateConnectedSiteTagRequest build()
Returns
Type Description
CreateConnectedSiteTagRequest

buildPartial()

public CreateConnectedSiteTagRequest buildPartial()
Returns
Type Description
CreateConnectedSiteTagRequest

clear()

public CreateConnectedSiteTagRequest.Builder clear()
Returns
Type Description
CreateConnectedSiteTagRequest.Builder
Overrides

clearConnectedSiteTag()

public CreateConnectedSiteTagRequest.Builder clearConnectedSiteTag()

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
CreateConnectedSiteTagRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public CreateConnectedSiteTagRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateConnectedSiteTagRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateConnectedSiteTagRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateConnectedSiteTagRequest.Builder
Overrides

clearProperty()

public CreateConnectedSiteTagRequest.Builder clearProperty()

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
CreateConnectedSiteTagRequest.Builder

This builder for chaining.

clone()

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

getConnectedSiteTagBuilder()

public ConnectedSiteTag.Builder getConnectedSiteTagBuilder()

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.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConnectedSiteTag(ConnectedSiteTag value)

public CreateConnectedSiteTagRequest.Builder mergeConnectedSiteTag(ConnectedSiteTag value)

Required. The tag to add to the Universal Analytics property

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

Parameter
Name Description
value ConnectedSiteTag
Returns
Type Description
CreateConnectedSiteTagRequest.Builder

mergeFrom(CreateConnectedSiteTagRequest other)

public CreateConnectedSiteTagRequest.Builder mergeFrom(CreateConnectedSiteTagRequest other)
Parameter
Name Description
other CreateConnectedSiteTagRequest
Returns
Type Description
CreateConnectedSiteTagRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateConnectedSiteTagRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateConnectedSiteTagRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateConnectedSiteTagRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateConnectedSiteTagRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateConnectedSiteTagRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateConnectedSiteTagRequest.Builder
Overrides

setConnectedSiteTag(ConnectedSiteTag value)

public CreateConnectedSiteTagRequest.Builder setConnectedSiteTag(ConnectedSiteTag value)

Required. The tag to add to the Universal Analytics property

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

Parameter
Name Description
value ConnectedSiteTag
Returns
Type Description
CreateConnectedSiteTagRequest.Builder

setConnectedSiteTag(ConnectedSiteTag.Builder builderForValue)

public CreateConnectedSiteTagRequest.Builder setConnectedSiteTag(ConnectedSiteTag.Builder builderForValue)

Required. The tag to add to the Universal Analytics property

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

Parameter
Name Description
builderForValue ConnectedSiteTag.Builder
Returns
Type Description
CreateConnectedSiteTagRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateConnectedSiteTagRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateConnectedSiteTagRequest.Builder
Overrides

setProperty(String value)

public CreateConnectedSiteTagRequest.Builder setProperty(String value)

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;

Parameter
Name Description
value String

The property to set.

Returns
Type Description
CreateConnectedSiteTagRequest.Builder

This builder for chaining.

setPropertyBytes(ByteString value)

public CreateConnectedSiteTagRequest.Builder setPropertyBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for property to set.

Returns
Type Description
CreateConnectedSiteTagRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateConnectedSiteTagRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateConnectedSiteTagRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateConnectedSiteTagRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateConnectedSiteTagRequest.Builder
Overrides