Interface ReportConsentChangeRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReportConsentChangeRequest,ReportConsentChangeRequest.Builder
@Generated
public interface ReportConsentChangeRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.intRequired.Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getConsentChangeActionValue
int getConsentChangeActionValue()Required. Whether customer decides to accept or decline service term. At this moment, only accept action is supported.
.google.cloud.discoveryengine.v1alpha.ReportConsentChangeRequest.ConsentChangeAction consent_change_action = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enum numeric value on the wire for consentChangeAction.
-
getConsentChangeAction
ReportConsentChangeRequest.ConsentChangeAction getConsentChangeAction()Required. Whether customer decides to accept or decline service term. At this moment, only accept action is supported.
.google.cloud.discoveryengine.v1alpha.ReportConsentChangeRequest.ConsentChangeAction consent_change_action = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The consentChangeAction.
-
getProject
String getProject()Required. Full resource name of a [Project][google.cloud.discoveryengine.v1alpha.Project], such as `projects/{project_id_or_number}`.string project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The project.
-
getProjectBytes
com.google.protobuf.ByteString getProjectBytes()Required. Full resource name of a [Project][google.cloud.discoveryengine.v1alpha.Project], such as `projects/{project_id_or_number}`.string project = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for project.
-
getServiceTermId
String getServiceTermId()Required. The unique identifier of the terms of service to update. Available term ids: * `GA_DATA_USE_TERMS`: [Terms for data use](https://cloud.google.com/retail/data-use-terms). When using this service term id, the acceptable [service_term_version][google.cloud.discoveryengine.v1alpha.ReportConsentChangeRequest.service_term_version] to provide is `2022-11-23`.
string service_term_id = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The serviceTermId.
-
getServiceTermIdBytes
com.google.protobuf.ByteString getServiceTermIdBytes()Required. The unique identifier of the terms of service to update. Available term ids: * `GA_DATA_USE_TERMS`: [Terms for data use](https://cloud.google.com/retail/data-use-terms). When using this service term id, the acceptable [service_term_version][google.cloud.discoveryengine.v1alpha.ReportConsentChangeRequest.service_term_version] to provide is `2022-11-23`.
string service_term_id = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for serviceTermId.
-
getServiceTermVersion
String getServiceTermVersion()Required. The version string of the terms of service to update.
string service_term_version = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The serviceTermVersion.
-
getServiceTermVersionBytes
com.google.protobuf.ByteString getServiceTermVersionBytes()Required. The version string of the terms of service to update.
string service_term_version = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for serviceTermVersion.
-