public final class ReportConsentChangeRequest extends com.google.protobuf.GeneratedMessageV3 implements ReportConsentChangeRequestOrBuilder
Request for ReportConsentChange method.Protobuf type
google.cloud.discoveryengine.v1alpha.ReportConsentChangeRequest| Modifier and Type | Class and Description |
|---|---|
static class |
ReportConsentChangeRequest.Builder
Request for ReportConsentChange method.
|
static class |
ReportConsentChangeRequest.ConsentChangeAction
Type of consent acknowledgement (accept / reject).
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONSENT_CHANGE_ACTION_FIELD_NUMBER |
static int |
PROJECT_FIELD_NUMBER |
static int |
SERVICE_TERM_ID_FIELD_NUMBER |
static int |
SERVICE_TERM_VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ReportConsentChangeRequest.ConsentChangeAction |
getConsentChangeAction()
Required.
|
int |
getConsentChangeActionValue()
Required.
|
static ReportConsentChangeRequest |
getDefaultInstance() |
ReportConsentChangeRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<ReportConsentChangeRequest> |
getParserForType() |
String |
getProject()
Required.
|
com.google.protobuf.ByteString |
getProjectBytes()
Required.
|
int |
getSerializedSize() |
String |
getServiceTermId()
Required.
|
com.google.protobuf.ByteString |
getServiceTermIdBytes()
Required.
|
String |
getServiceTermVersion()
Required.
|
com.google.protobuf.ByteString |
getServiceTermVersionBytes()
Required.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ReportConsentChangeRequest.Builder |
newBuilder() |
static ReportConsentChangeRequest.Builder |
newBuilder(ReportConsentChangeRequest prototype) |
ReportConsentChangeRequest.Builder |
newBuilderForType() |
protected ReportConsentChangeRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ReportConsentChangeRequest |
parseDelimitedFrom(InputStream input) |
static ReportConsentChangeRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReportConsentChangeRequest |
parseFrom(byte[] data) |
static ReportConsentChangeRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReportConsentChangeRequest |
parseFrom(ByteBuffer data) |
static ReportConsentChangeRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReportConsentChangeRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ReportConsentChangeRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReportConsentChangeRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ReportConsentChangeRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReportConsentChangeRequest |
parseFrom(InputStream input) |
static ReportConsentChangeRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ReportConsentChangeRequest> |
parser() |
ReportConsentChangeRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CONSENT_CHANGE_ACTION_FIELD_NUMBER
public static final int PROJECT_FIELD_NUMBER
public static final int SERVICE_TERM_ID_FIELD_NUMBER
public static final int SERVICE_TERM_VERSION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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];
getConsentChangeActionValue in interface ReportConsentChangeRequestOrBuilderpublic 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];
getConsentChangeAction in interface ReportConsentChangeRequestOrBuilderpublic 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) = { ... }
getProject in interface ReportConsentChangeRequestOrBuilderpublic 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) = { ... }
getProjectBytes in interface ReportConsentChangeRequestOrBuilderpublic 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];getServiceTermId in interface ReportConsentChangeRequestOrBuilderpublic 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];getServiceTermIdBytes in interface ReportConsentChangeRequestOrBuilderpublic String getServiceTermVersion()
Required. The version string of the terms of service to update.
string service_term_version = 4 [(.google.api.field_behavior) = REQUIRED];getServiceTermVersion in interface ReportConsentChangeRequestOrBuilderpublic 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];getServiceTermVersionBytes in interface ReportConsentChangeRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ReportConsentChangeRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReportConsentChangeRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReportConsentChangeRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReportConsentChangeRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReportConsentChangeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReportConsentChangeRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReportConsentChangeRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static ReportConsentChangeRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ReportConsentChangeRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ReportConsentChangeRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ReportConsentChangeRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ReportConsentChangeRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ReportConsentChangeRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ReportConsentChangeRequest.Builder newBuilder()
public static ReportConsentChangeRequest.Builder newBuilder(ReportConsentChangeRequest prototype)
public ReportConsentChangeRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ReportConsentChangeRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ReportConsentChangeRequest getDefaultInstance()
public static com.google.protobuf.Parser<ReportConsentChangeRequest> parser()
public com.google.protobuf.Parser<ReportConsentChangeRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ReportConsentChangeRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.