public static final class ConnectedSiteTag.Builder extends GeneratedMessageV3.Builder<ConnectedSiteTag.Builder> implements ConnectedSiteTagOrBuilder
Configuration for a specific Connected Site Tag.
Protobuf type google.analytics.admin.v1alpha.ConnectedSiteTag
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConnectedSiteTag.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ConnectedSiteTag build()
buildPartial()
public ConnectedSiteTag buildPartial()
clear()
public ConnectedSiteTag.Builder clear()
Overrides
clearDisplayName()
public ConnectedSiteTag.Builder clearDisplayName()
Required. User-provided display name for the connected site tag. Must be
less than 256 characters.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public ConnectedSiteTag.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ConnectedSiteTag.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTagId()
public ConnectedSiteTag.Builder clearTagId()
Required. "Tag ID to forward events to. Also known as the Measurement ID,
or the "G-ID" (For example: G-12345).
string tag_id = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public ConnectedSiteTag.Builder clone()
Overrides
getDefaultInstanceForType()
public ConnectedSiteTag getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDisplayName()
public String getDisplayName()
Required. User-provided display name for the connected site tag. Must be
less than 256 characters.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Required. User-provided display name for the connected site tag. Must be
less than 256 characters.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for displayName.
|
getTagId()
Required. "Tag ID to forward events to. Also known as the Measurement ID,
or the "G-ID" (For example: G-12345).
string tag_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The tagId.
|
getTagIdBytes()
public ByteString getTagIdBytes()
Required. "Tag ID to forward events to. Also known as the Measurement ID,
or the "G-ID" (For example: G-12345).
string tag_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for tagId.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ConnectedSiteTag other)
public ConnectedSiteTag.Builder mergeFrom(ConnectedSiteTag other)
public ConnectedSiteTag.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ConnectedSiteTag.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConnectedSiteTag.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDisplayName(String value)
public ConnectedSiteTag.Builder setDisplayName(String value)
Required. User-provided display name for the connected site tag. Must be
less than 256 characters.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | String
The displayName to set.
|
setDisplayNameBytes(ByteString value)
public ConnectedSiteTag.Builder setDisplayNameBytes(ByteString value)
Required. User-provided display name for the connected site tag. Must be
less than 256 characters.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for displayName to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ConnectedSiteTag.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConnectedSiteTag.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTagId(String value)
public ConnectedSiteTag.Builder setTagId(String value)
Required. "Tag ID to forward events to. Also known as the Measurement ID,
or the "G-ID" (For example: G-12345).
string tag_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | String
The tagId to set.
|
setTagIdBytes(ByteString value)
public ConnectedSiteTag.Builder setTagIdBytes(ByteString value)
Required. "Tag ID to forward events to. Also known as the Measurement ID,
or the "G-ID" (For example: G-12345).
string tag_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for tagId to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ConnectedSiteTag.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides