public static final class GetGlobalSiteTagRequest.Builder extends GeneratedMessage.Builder<GetGlobalSiteTagRequest.Builder> implements GetGlobalSiteTagRequestOrBuilderRequest message for GetGlobalSiteTag RPC.
Protobuf type google.analytics.admin.v1alpha.GetGlobalSiteTagRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetGlobalSiteTagRequest.BuilderImplements
GetGlobalSiteTagRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetGlobalSiteTagRequest build()| Returns | |
|---|---|
| Type | Description |
GetGlobalSiteTagRequest |
|
buildPartial()
public GetGlobalSiteTagRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetGlobalSiteTagRequest |
|
clear()
public GetGlobalSiteTagRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetGlobalSiteTagRequest.Builder |
|
clearName()
public GetGlobalSiteTagRequest.Builder clearName()Required. The name of the site tag to lookup. Note that site tags are singletons and do not have unique IDs. Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
Example: properties/123/dataStreams/456/globalSiteTag
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
GetGlobalSiteTagRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetGlobalSiteTagRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetGlobalSiteTagRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The name of the site tag to lookup. Note that site tags are singletons and do not have unique IDs. Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
Example: properties/123/dataStreams/456/globalSiteTag
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The name of the site tag to lookup. Note that site tags are singletons and do not have unique IDs. Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
Example: properties/123/dataStreams/456/globalSiteTag
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetGlobalSiteTagRequest other)
public GetGlobalSiteTagRequest.Builder mergeFrom(GetGlobalSiteTagRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetGlobalSiteTagRequest |
| Returns | |
|---|---|
| Type | Description |
GetGlobalSiteTagRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetGlobalSiteTagRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetGlobalSiteTagRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetGlobalSiteTagRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetGlobalSiteTagRequest.Builder |
|
setName(String value)
public GetGlobalSiteTagRequest.Builder setName(String value)Required. The name of the site tag to lookup. Note that site tags are singletons and do not have unique IDs. Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
Example: properties/123/dataStreams/456/globalSiteTag
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
GetGlobalSiteTagRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public GetGlobalSiteTagRequest.Builder setNameBytes(ByteString value)Required. The name of the site tag to lookup. Note that site tags are singletons and do not have unique IDs. Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
Example: properties/123/dataStreams/456/globalSiteTag
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
GetGlobalSiteTagRequest.Builder |
This builder for chaining. |