Class CreateConnectedSiteTagRequest.Builder (0.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateConnectedSiteTagRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateConnectedSiteTagRequest.Builder
Overrides

build()

public CreateConnectedSiteTagRequest build()
Returns
TypeDescription
CreateConnectedSiteTagRequest

buildPartial()

public CreateConnectedSiteTagRequest buildPartial()
Returns
TypeDescription
CreateConnectedSiteTagRequest

clear()

public CreateConnectedSiteTagRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
CreateConnectedSiteTagRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public CreateConnectedSiteTagRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateConnectedSiteTagRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateConnectedSiteTagRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CreateConnectedSiteTagRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateConnectedSiteTagRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateConnectedSiteTagRequest

getDescriptorForType()

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueConnectedSiteTag
Returns
TypeDescription
CreateConnectedSiteTagRequest.Builder

mergeFrom(CreateConnectedSiteTagRequest other)

public CreateConnectedSiteTagRequest.Builder mergeFrom(CreateConnectedSiteTagRequest other)
Parameter
NameDescription
otherCreateConnectedSiteTagRequest
Returns
TypeDescription
CreateConnectedSiteTagRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateConnectedSiteTagRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateConnectedSiteTagRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateConnectedSiteTagRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateConnectedSiteTagRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateConnectedSiteTagRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueConnectedSiteTag
Returns
TypeDescription
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
NameDescription
builderForValueConnectedSiteTag.Builder
Returns
TypeDescription
CreateConnectedSiteTagRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateConnectedSiteTagRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The property to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for property to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateConnectedSiteTagRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateConnectedSiteTagRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateConnectedSiteTagRequest.Builder
Overrides