Class PurgeIdentityMappingsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PurgeIdentityMappingsRequest.Builder>
com.google.cloud.discoveryengine.v1.PurgeIdentityMappingsRequest.Builder
- All Implemented Interfaces:
PurgeIdentityMappingsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PurgeIdentityMappingsRequest
public static final class PurgeIdentityMappingsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PurgeIdentityMappingsRequest.Builder>
implements PurgeIdentityMappingsRequestOrBuilder
Request message for [IdentityMappingStoreService.PurgeIdentityMappings][google.cloud.discoveryengine.v1.IdentityMappingStoreService.PurgeIdentityMappings]Protobuf type
google.cloud.discoveryengine.v1.PurgeIdentityMappingsRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Filter matching identity mappings to purge.Actually performs the purge.Required.The inline source to purge identity mapping entries from.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorFilter matching identity mappings to purge.com.google.protobuf.ByteStringFilter matching identity mappings to purge.booleangetForce()Actually performs the purge.Required.com.google.protobuf.ByteStringRequired.The inline source to purge identity mapping entries from.The inline source to purge identity mapping entries from.The inline source to purge identity mapping entries from.booleanhasForce()Actually performs the purge.booleanThe inline source to purge identity mapping entries from.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The inline source to purge identity mapping entries from.Filter matching identity mappings to purge.setFilterBytes(com.google.protobuf.ByteString value) Filter matching identity mappings to purge.setForce(boolean value) Actually performs the purge.setIdentityMappingStore(String value) Required.setIdentityMappingStoreBytes(com.google.protobuf.ByteString value) Required.The inline source to purge identity mapping entries from.setInlineSource(PurgeIdentityMappingsRequest.InlineSource.Builder builderForValue) The inline source to purge identity mapping entries from.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<PurgeIdentityMappingsRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PurgeIdentityMappingsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<PurgeIdentityMappingsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PurgeIdentityMappingsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PurgeIdentityMappingsRequest.Builder>
-
mergeFrom
public PurgeIdentityMappingsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PurgeIdentityMappingsRequest.Builder>- Throws:
IOException
-
getSourceCase
- Specified by:
getSourceCasein interfacePurgeIdentityMappingsRequestOrBuilder
-
clearSource
-
hasInlineSource
public boolean hasInlineSource()The inline source to purge identity mapping entries from.
.google.cloud.discoveryengine.v1.PurgeIdentityMappingsRequest.InlineSource inline_source = 2;- Specified by:
hasInlineSourcein interfacePurgeIdentityMappingsRequestOrBuilder- Returns:
- Whether the inlineSource field is set.
-
getInlineSource
The inline source to purge identity mapping entries from.
.google.cloud.discoveryengine.v1.PurgeIdentityMappingsRequest.InlineSource inline_source = 2;- Specified by:
getInlineSourcein interfacePurgeIdentityMappingsRequestOrBuilder- Returns:
- The inlineSource.
-
setInlineSource
public PurgeIdentityMappingsRequest.Builder setInlineSource(PurgeIdentityMappingsRequest.InlineSource value) The inline source to purge identity mapping entries from.
.google.cloud.discoveryengine.v1.PurgeIdentityMappingsRequest.InlineSource inline_source = 2; -
setInlineSource
public PurgeIdentityMappingsRequest.Builder setInlineSource(PurgeIdentityMappingsRequest.InlineSource.Builder builderForValue) The inline source to purge identity mapping entries from.
.google.cloud.discoveryengine.v1.PurgeIdentityMappingsRequest.InlineSource inline_source = 2; -
mergeInlineSource
public PurgeIdentityMappingsRequest.Builder mergeInlineSource(PurgeIdentityMappingsRequest.InlineSource value) The inline source to purge identity mapping entries from.
.google.cloud.discoveryengine.v1.PurgeIdentityMappingsRequest.InlineSource inline_source = 2; -
clearInlineSource
The inline source to purge identity mapping entries from.
.google.cloud.discoveryengine.v1.PurgeIdentityMappingsRequest.InlineSource inline_source = 2; -
getInlineSourceBuilder
The inline source to purge identity mapping entries from.
.google.cloud.discoveryengine.v1.PurgeIdentityMappingsRequest.InlineSource inline_source = 2; -
getInlineSourceOrBuilder
The inline source to purge identity mapping entries from.
.google.cloud.discoveryengine.v1.PurgeIdentityMappingsRequest.InlineSource inline_source = 2;- Specified by:
getInlineSourceOrBuilderin interfacePurgeIdentityMappingsRequestOrBuilder
-
getIdentityMappingStore
Required. The name of the Identity Mapping Store to purge Identity Mapping Entries from. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}`string identity_mapping_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getIdentityMappingStorein interfacePurgeIdentityMappingsRequestOrBuilder- Returns:
- The identityMappingStore.
-
getIdentityMappingStoreBytes
public com.google.protobuf.ByteString getIdentityMappingStoreBytes()Required. The name of the Identity Mapping Store to purge Identity Mapping Entries from. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}`string identity_mapping_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getIdentityMappingStoreBytesin interfacePurgeIdentityMappingsRequestOrBuilder- Returns:
- The bytes for identityMappingStore.
-
setIdentityMappingStore
Required. The name of the Identity Mapping Store to purge Identity Mapping Entries from. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}`string identity_mapping_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The identityMappingStore to set.- Returns:
- This builder for chaining.
-
clearIdentityMappingStore
Required. The name of the Identity Mapping Store to purge Identity Mapping Entries from. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}`string identity_mapping_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setIdentityMappingStoreBytes
public PurgeIdentityMappingsRequest.Builder setIdentityMappingStoreBytes(com.google.protobuf.ByteString value) Required. The name of the Identity Mapping Store to purge Identity Mapping Entries from. Format: `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}`string identity_mapping_store = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for identityMappingStore to set.- Returns:
- This builder for chaining.
-
getFilter
Filter matching identity mappings to purge. The eligible field for filtering is: * `update_time`: in ISO 8601 "zulu" format. * `external_id` Examples: * Deleting all identity mappings updated in a time range: `update_time > "2012-04-23T18:25:43.511Z" AND update_time < "2012-04-23T18:30:43.511Z"` * Deleting all identity mappings for a given external_id: `external_id = "id1"` * Deleting all identity mappings inside an identity mapping store: `*` The filtering fields are assumed to have an implicit AND. Should not be used with source. An error will be thrown, if both are provided.
string filter = 3;- Specified by:
getFilterin interfacePurgeIdentityMappingsRequestOrBuilder- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()Filter matching identity mappings to purge. The eligible field for filtering is: * `update_time`: in ISO 8601 "zulu" format. * `external_id` Examples: * Deleting all identity mappings updated in a time range: `update_time > "2012-04-23T18:25:43.511Z" AND update_time < "2012-04-23T18:30:43.511Z"` * Deleting all identity mappings for a given external_id: `external_id = "id1"` * Deleting all identity mappings inside an identity mapping store: `*` The filtering fields are assumed to have an implicit AND. Should not be used with source. An error will be thrown, if both are provided.
string filter = 3;- Specified by:
getFilterBytesin interfacePurgeIdentityMappingsRequestOrBuilder- Returns:
- The bytes for filter.
-
setFilter
Filter matching identity mappings to purge. The eligible field for filtering is: * `update_time`: in ISO 8601 "zulu" format. * `external_id` Examples: * Deleting all identity mappings updated in a time range: `update_time > "2012-04-23T18:25:43.511Z" AND update_time < "2012-04-23T18:30:43.511Z"` * Deleting all identity mappings for a given external_id: `external_id = "id1"` * Deleting all identity mappings inside an identity mapping store: `*` The filtering fields are assumed to have an implicit AND. Should not be used with source. An error will be thrown, if both are provided.
string filter = 3;- Parameters:
value- The filter to set.- Returns:
- This builder for chaining.
-
clearFilter
Filter matching identity mappings to purge. The eligible field for filtering is: * `update_time`: in ISO 8601 "zulu" format. * `external_id` Examples: * Deleting all identity mappings updated in a time range: `update_time > "2012-04-23T18:25:43.511Z" AND update_time < "2012-04-23T18:30:43.511Z"` * Deleting all identity mappings for a given external_id: `external_id = "id1"` * Deleting all identity mappings inside an identity mapping store: `*` The filtering fields are assumed to have an implicit AND. Should not be used with source. An error will be thrown, if both are provided.
string filter = 3;- Returns:
- This builder for chaining.
-
setFilterBytes
Filter matching identity mappings to purge. The eligible field for filtering is: * `update_time`: in ISO 8601 "zulu" format. * `external_id` Examples: * Deleting all identity mappings updated in a time range: `update_time > "2012-04-23T18:25:43.511Z" AND update_time < "2012-04-23T18:30:43.511Z"` * Deleting all identity mappings for a given external_id: `external_id = "id1"` * Deleting all identity mappings inside an identity mapping store: `*` The filtering fields are assumed to have an implicit AND. Should not be used with source. An error will be thrown, if both are provided.
string filter = 3;- Parameters:
value- The bytes for filter to set.- Returns:
- This builder for chaining.
-
hasForce
public boolean hasForce()Actually performs the purge. If `force` is set to false, return the expected purge count without deleting any identity mappings. This field is only supported for purge with filter. For input source this field is ignored and data will be purged regardless of the value of this field.
optional bool force = 4;- Specified by:
hasForcein interfacePurgeIdentityMappingsRequestOrBuilder- Returns:
- Whether the force field is set.
-
getForce
public boolean getForce()Actually performs the purge. If `force` is set to false, return the expected purge count without deleting any identity mappings. This field is only supported for purge with filter. For input source this field is ignored and data will be purged regardless of the value of this field.
optional bool force = 4;- Specified by:
getForcein interfacePurgeIdentityMappingsRequestOrBuilder- Returns:
- The force.
-
setForce
Actually performs the purge. If `force` is set to false, return the expected purge count without deleting any identity mappings. This field is only supported for purge with filter. For input source this field is ignored and data will be purged regardless of the value of this field.
optional bool force = 4;- Parameters:
value- The force to set.- Returns:
- This builder for chaining.
-
clearForce
Actually performs the purge. If `force` is set to false, return the expected purge count without deleting any identity mappings. This field is only supported for purge with filter. For input source this field is ignored and data will be purged regardless of the value of this field.
optional bool force = 4;- Returns:
- This builder for chaining.
-