Class AcknowledgeUserDataCollectionRequest.Builder (0.61.0)

public static final class AcknowledgeUserDataCollectionRequest.Builder extends GeneratedMessageV3.Builder<AcknowledgeUserDataCollectionRequest.Builder> implements AcknowledgeUserDataCollectionRequestOrBuilder

Request message for AcknowledgeUserDataCollection RPC.

Protobuf type google.analytics.admin.v1beta.AcknowledgeUserDataCollectionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AcknowledgeUserDataCollectionRequest build()
Returns
Type Description
AcknowledgeUserDataCollectionRequest

buildPartial()

public AcknowledgeUserDataCollectionRequest buildPartial()
Returns
Type Description
AcknowledgeUserDataCollectionRequest

clear()

public AcknowledgeUserDataCollectionRequest.Builder clear()
Returns
Type Description
AcknowledgeUserDataCollectionRequest.Builder
Overrides

clearAcknowledgement()

public AcknowledgeUserDataCollectionRequest.Builder clearAcknowledgement()

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
AcknowledgeUserDataCollectionRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProperty()

public AcknowledgeUserDataCollectionRequest.Builder clearProperty()

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
AcknowledgeUserDataCollectionRequest.Builder

This builder for chaining.

clone()

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

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AcknowledgeUserDataCollectionRequest other)

public AcknowledgeUserDataCollectionRequest.Builder mergeFrom(AcknowledgeUserDataCollectionRequest other)
Parameter
Name Description
other AcknowledgeUserDataCollectionRequest
Returns
Type Description
AcknowledgeUserDataCollectionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AcknowledgeUserDataCollectionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AcknowledgeUserDataCollectionRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAcknowledgement(String value)

public AcknowledgeUserDataCollectionRequest.Builder setAcknowledgement(String value)

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];

Parameter
Name Description
value String

The acknowledgement to set.

Returns
Type Description
AcknowledgeUserDataCollectionRequest.Builder

This builder for chaining.

setAcknowledgementBytes(ByteString value)

public AcknowledgeUserDataCollectionRequest.Builder setAcknowledgementBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for acknowledgement to set.

Returns
Type Description
AcknowledgeUserDataCollectionRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setProperty(String value)

public AcknowledgeUserDataCollectionRequest.Builder setProperty(String value)

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

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

Parameter
Name Description
value String

The property to set.

Returns
Type Description
AcknowledgeUserDataCollectionRequest.Builder

This builder for chaining.

setPropertyBytes(ByteString value)

public AcknowledgeUserDataCollectionRequest.Builder setPropertyBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for property to set.

Returns
Type Description
AcknowledgeUserDataCollectionRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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