Class GetGlobalSiteTagRequest.Builder (0.57.0)

public static final class GetGlobalSiteTagRequest.Builder extends GeneratedMessageV3.Builder<GetGlobalSiteTagRequest.Builder> implements GetGlobalSiteTagRequestOrBuilder

Request message for GetGlobalSiteTag RPC.

Protobuf type google.analytics.admin.v1alpha.GetGlobalSiteTagRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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
Overrides

clearField(Descriptors.FieldDescriptor field)

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

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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public GetGlobalSiteTagRequest.Builder clone()
Returns
Type Description
GetGlobalSiteTagRequest.Builder
Overrides

getDefaultInstanceForType()

public GetGlobalSiteTagRequest getDefaultInstanceForType()
Returns
Type Description
GetGlobalSiteTagRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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 String

The 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 ByteString

The bytes for name to set.

Returns
Type Description
GetGlobalSiteTagRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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