Class GetGlobalSiteTagRequest.Builder (0.15.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetGlobalSiteTagRequest build()
Returns
TypeDescription
GetGlobalSiteTagRequest

buildPartial()

public GetGlobalSiteTagRequest buildPartial()
Returns
TypeDescription
GetGlobalSiteTagRequest

clear()

public GetGlobalSiteTagRequest.Builder clear()
Returns
TypeDescription
GetGlobalSiteTagRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetGlobalSiteTagRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
GetGlobalSiteTagRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetGlobalSiteTagRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetGlobalSiteTagRequest.Builder
Overrides

clone()

public GetGlobalSiteTagRequest.Builder clone()
Returns
TypeDescription
GetGlobalSiteTagRequest.Builder
Overrides

getDefaultInstanceForType()

public GetGlobalSiteTagRequest getDefaultInstanceForType()
Returns
TypeDescription
GetGlobalSiteTagRequest

getDescriptorForType()

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

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetGlobalSiteTagRequest other)

public GetGlobalSiteTagRequest.Builder mergeFrom(GetGlobalSiteTagRequest other)
Parameter
NameDescription
otherGetGlobalSiteTagRequest
Returns
TypeDescription
GetGlobalSiteTagRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetGlobalSiteTagRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetGlobalSiteTagRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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