Class AcknowledgeUserDataCollectionRequest (0.27.0)

public final class AcknowledgeUserDataCollectionRequest extends GeneratedMessageV3 implements AcknowledgeUserDataCollectionRequestOrBuilder

Request message for AcknowledgeUserDataCollection RPC.

Protobuf type google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AcknowledgeUserDataCollectionRequest

Static Fields

ACKNOWLEDGEMENT_FIELD_NUMBER

public static final int ACKNOWLEDGEMENT_FIELD_NUMBER
Field Value
TypeDescription
int

PROPERTY_FIELD_NUMBER

public static final int PROPERTY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AcknowledgeUserDataCollectionRequest getDefaultInstance()
Returns
TypeDescription
AcknowledgeUserDataCollectionRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AcknowledgeUserDataCollectionRequest.Builder newBuilder()
Returns
TypeDescription
AcknowledgeUserDataCollectionRequest.Builder

newBuilder(AcknowledgeUserDataCollectionRequest prototype)

public static AcknowledgeUserDataCollectionRequest.Builder newBuilder(AcknowledgeUserDataCollectionRequest prototype)
Parameter
NameDescription
prototypeAcknowledgeUserDataCollectionRequest
Returns
TypeDescription
AcknowledgeUserDataCollectionRequest.Builder

parseDelimitedFrom(InputStream input)

public static AcknowledgeUserDataCollectionRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AcknowledgeUserDataCollectionRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AcknowledgeUserDataCollectionRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AcknowledgeUserDataCollectionRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AcknowledgeUserDataCollectionRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AcknowledgeUserDataCollectionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AcknowledgeUserDataCollectionRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AcknowledgeUserDataCollectionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AcknowledgeUserDataCollectionRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AcknowledgeUserDataCollectionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AcknowledgeUserDataCollectionRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AcknowledgeUserDataCollectionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AcknowledgeUserDataCollectionRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AcknowledgeUserDataCollectionRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AcknowledgeUserDataCollectionRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AcknowledgeUserDataCollectionRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AcknowledgeUserDataCollectionRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AcknowledgeUserDataCollectionRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AcknowledgeUserDataCollectionRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AcknowledgeUserDataCollectionRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AcknowledgeUserDataCollectionRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AcknowledgeUserDataCollectionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AcknowledgeUserDataCollectionRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AcknowledgeUserDataCollectionRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AcknowledgeUserDataCollectionRequest> parser()
Returns
TypeDescription
Parser<AcknowledgeUserDataCollectionRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAcknowledgement()

public String getAcknowledgement()

Required. An acknowledgement that the caller of this method understands the terms of user data collection. This field must contain the exact value: "I acknowledge that I have the necessary privacy disclosures and rights from my end users for the collection and processing of their data, including the association of such data with the visitation information Google Analytics collects from my site and/or app property."

string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The acknowledgement.

getAcknowledgementBytes()

public ByteString getAcknowledgementBytes()

Required. An acknowledgement that the caller of this method understands the terms of user data collection. This field must contain the exact value: "I acknowledge that I have the necessary privacy disclosures and rights from my end users for the collection and processing of their data, including the association of such data with the visitation information Google Analytics collects from my site and/or app property."

string acknowledgement = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for acknowledgement.

getDefaultInstanceForType()

public AcknowledgeUserDataCollectionRequest getDefaultInstanceForType()
Returns
TypeDescription
AcknowledgeUserDataCollectionRequest

getParserForType()

public Parser<AcknowledgeUserDataCollectionRequest> getParserForType()
Returns
TypeDescription
Parser<AcknowledgeUserDataCollectionRequest>
Overrides

getProperty()

public String getProperty()

Required. The property for which to acknowledge user data collection.

string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The property.

getPropertyBytes()

public ByteString getPropertyBytes()

Required. The property for which to acknowledge user data collection.

string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for property.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AcknowledgeUserDataCollectionRequest.Builder newBuilderForType()
Returns
TypeDescription
AcknowledgeUserDataCollectionRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AcknowledgeUserDataCollectionRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AcknowledgeUserDataCollectionRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AcknowledgeUserDataCollectionRequest.Builder toBuilder()
Returns
TypeDescription
AcknowledgeUserDataCollectionRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException