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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AcknowledgeUserDataCollectionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AcknowledgeUserDataCollectionRequest build()
Returns
buildPartial()
public AcknowledgeUserDataCollectionRequest buildPartial()
Returns
clear()
public AcknowledgeUserDataCollectionRequest.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public AcknowledgeUserDataCollectionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AcknowledgeUserDataCollectionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public AcknowledgeUserDataCollectionRequest.Builder clone()
Returns
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AcknowledgeUserDataCollectionRequest other)
public AcknowledgeUserDataCollectionRequest.Builder mergeFrom(AcknowledgeUserDataCollectionRequest other)
Parameter
Returns
public AcknowledgeUserDataCollectionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AcknowledgeUserDataCollectionRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AcknowledgeUserDataCollectionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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
setField(Descriptors.FieldDescriptor field, Object value)
public AcknowledgeUserDataCollectionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AcknowledgeUserDataCollectionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AcknowledgeUserDataCollectionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides