Class AcknowledgeUserDataCollectionRequest.Builder (0.21.0)

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

Request message for AcknowledgeUserDataCollection RPC.

Protobuf type google.analytics.admin.v1alpha.AcknowledgeUserDataCollectionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AcknowledgeUserDataCollectionRequest build()
Returns
TypeDescription
AcknowledgeUserDataCollectionRequest

buildPartial()

public AcknowledgeUserDataCollectionRequest buildPartial()
Returns
TypeDescription
AcknowledgeUserDataCollectionRequest

clear()

public AcknowledgeUserDataCollectionRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
AcknowledgeUserDataCollectionRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AcknowledgeUserDataCollectionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AcknowledgeUserDataCollectionRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AcknowledgeUserDataCollectionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
AcknowledgeUserDataCollectionRequest.Builder

This builder for chaining.

clone()

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

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AcknowledgeUserDataCollectionRequest other)

public AcknowledgeUserDataCollectionRequest.Builder mergeFrom(AcknowledgeUserDataCollectionRequest other)
Parameter
NameDescription
otherAcknowledgeUserDataCollectionRequest
Returns
TypeDescription
AcknowledgeUserDataCollectionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AcknowledgeUserDataCollectionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The acknowledgement to set.

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

The bytes for acknowledgement to set.

Returns
TypeDescription
AcknowledgeUserDataCollectionRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The property to set.

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

The bytes for property to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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