Class AcknowledgeUserDataCollectionRequest (0.57.0)

public final class AcknowledgeUserDataCollectionRequest extends GeneratedMessageV3 implements AcknowledgeUserDataCollectionRequestOrBuilder

Request message for AcknowledgeUserDataCollection RPC.

Protobuf type google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest

Inheritance

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

Static Fields

ACKNOWLEDGEMENT_FIELD_NUMBER

public static final int ACKNOWLEDGEMENT_FIELD_NUMBER
Field Value
Type Description
int

PROPERTY_FIELD_NUMBER

public static final int PROPERTY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AcknowledgeUserDataCollectionRequest getDefaultInstance()
Returns
Type Description
AcknowledgeUserDataCollectionRequest

getDescriptor()

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

newBuilder()

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

newBuilder(AcknowledgeUserDataCollectionRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for acknowledgement.

getDefaultInstanceForType()

public AcknowledgeUserDataCollectionRequest getDefaultInstanceForType()
Returns
Type Description
AcknowledgeUserDataCollectionRequest

getParserForType()

public Parser<AcknowledgeUserDataCollectionRequest> getParserForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for property.

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 AcknowledgeUserDataCollectionRequest.Builder newBuilderForType()
Returns
Type Description
AcknowledgeUserDataCollectionRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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