Class GetGlobalSiteTagRequest (0.56.0)

public final class GetGlobalSiteTagRequest extends GeneratedMessageV3 implements GetGlobalSiteTagRequestOrBuilder

Request message for GetGlobalSiteTag RPC.

Protobuf type google.analytics.admin.v1alpha.GetGlobalSiteTagRequest

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GetGlobalSiteTagRequest getDefaultInstance()
Returns
Type Description
GetGlobalSiteTagRequest

getDescriptor()

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

newBuilder()

public static GetGlobalSiteTagRequest.Builder newBuilder()
Returns
Type Description
GetGlobalSiteTagRequest.Builder

newBuilder(GetGlobalSiteTagRequest prototype)

public static GetGlobalSiteTagRequest.Builder newBuilder(GetGlobalSiteTagRequest prototype)
Parameter
Name Description
prototype GetGlobalSiteTagRequest
Returns
Type Description
GetGlobalSiteTagRequest.Builder

parseDelimitedFrom(InputStream input)

public static GetGlobalSiteTagRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GetGlobalSiteTagRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetGlobalSiteTagRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetGlobalSiteTagRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GetGlobalSiteTagRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GetGlobalSiteTagRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GetGlobalSiteTagRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetGlobalSiteTagRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GetGlobalSiteTagRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GetGlobalSiteTagRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GetGlobalSiteTagRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetGlobalSiteTagRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GetGlobalSiteTagRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GetGlobalSiteTagRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GetGlobalSiteTagRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetGlobalSiteTagRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GetGlobalSiteTagRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GetGlobalSiteTagRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GetGlobalSiteTagRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetGlobalSiteTagRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GetGlobalSiteTagRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GetGlobalSiteTagRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GetGlobalSiteTagRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetGlobalSiteTagRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GetGlobalSiteTagRequest> parser()
Returns
Type Description
Parser<GetGlobalSiteTagRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GetGlobalSiteTagRequest getDefaultInstanceForType()
Returns
Type Description
GetGlobalSiteTagRequest

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.

getParserForType()

public Parser<GetGlobalSiteTagRequest> getParserForType()
Returns
Type Description
Parser<GetGlobalSiteTagRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GetGlobalSiteTagRequest.Builder newBuilderForType()
Returns
Type Description
GetGlobalSiteTagRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GetGlobalSiteTagRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GetGlobalSiteTagRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GetGlobalSiteTagRequest.Builder toBuilder()
Returns
Type Description
GetGlobalSiteTagRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException