Class PurgeIdentityMappingsRequest (0.60.0)

public final class PurgeIdentityMappingsRequest extends GeneratedMessageV3 implements PurgeIdentityMappingsRequestOrBuilder

Request message for IdentityMappingStoreService.PurgeIdentityMappings

Protobuf type google.cloud.discoveryengine.v1.PurgeIdentityMappingsRequest

Static Fields

FILTER_FIELD_NUMBER

public static final int FILTER_FIELD_NUMBER
Field Value
Type Description
int

FORCE_FIELD_NUMBER

public static final int FORCE_FIELD_NUMBER
Field Value
Type Description
int

IDENTITY_MAPPING_STORE_FIELD_NUMBER

public static final int IDENTITY_MAPPING_STORE_FIELD_NUMBER
Field Value
Type Description
int

INLINE_SOURCE_FIELD_NUMBER

public static final int INLINE_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PurgeIdentityMappingsRequest getDefaultInstance()
Returns
Type Description
PurgeIdentityMappingsRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PurgeIdentityMappingsRequest.Builder newBuilder()
Returns
Type Description
PurgeIdentityMappingsRequest.Builder

newBuilder(PurgeIdentityMappingsRequest prototype)

public static PurgeIdentityMappingsRequest.Builder newBuilder(PurgeIdentityMappingsRequest prototype)
Parameter
Name Description
prototype PurgeIdentityMappingsRequest
Returns
Type Description
PurgeIdentityMappingsRequest.Builder

parseDelimitedFrom(InputStream input)

public static PurgeIdentityMappingsRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PurgeIdentityMappingsRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PurgeIdentityMappingsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PurgeIdentityMappingsRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PurgeIdentityMappingsRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PurgeIdentityMappingsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PurgeIdentityMappingsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PurgeIdentityMappingsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PurgeIdentityMappingsRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PurgeIdentityMappingsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PurgeIdentityMappingsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PurgeIdentityMappingsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PurgeIdentityMappingsRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PurgeIdentityMappingsRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PurgeIdentityMappingsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PurgeIdentityMappingsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PurgeIdentityMappingsRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PurgeIdentityMappingsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PurgeIdentityMappingsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PurgeIdentityMappingsRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PurgeIdentityMappingsRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PurgeIdentityMappingsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PurgeIdentityMappingsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PurgeIdentityMappingsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PurgeIdentityMappingsRequest> parser()
Returns
Type Description
Parser<PurgeIdentityMappingsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PurgeIdentityMappingsRequest getDefaultInstanceForType()
Returns
Type Description
PurgeIdentityMappingsRequest

getFilter()

public String 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;

Returns
Type Description
String

The filter.

getFilterBytes()

public 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;

Returns
Type Description
ByteString

The bytes for filter.

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;

Returns
Type Description
boolean

The force.

getIdentityMappingStore()

public String 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) = { ... }

Returns
Type Description
String

The identityMappingStore.

getIdentityMappingStoreBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for identityMappingStore.

getInlineSource()

public PurgeIdentityMappingsRequest.InlineSource getInlineSource()

The inline source to purge identity mapping entries from.

.google.cloud.discoveryengine.v1.PurgeIdentityMappingsRequest.InlineSource inline_source = 2;

Returns
Type Description
PurgeIdentityMappingsRequest.InlineSource

The inlineSource.

getInlineSourceOrBuilder()

public PurgeIdentityMappingsRequest.InlineSourceOrBuilder getInlineSourceOrBuilder()

The inline source to purge identity mapping entries from.

.google.cloud.discoveryengine.v1.PurgeIdentityMappingsRequest.InlineSource inline_source = 2;

Returns
Type Description
PurgeIdentityMappingsRequest.InlineSourceOrBuilder

getParserForType()

public Parser<PurgeIdentityMappingsRequest> getParserForType()
Returns
Type Description
Parser<PurgeIdentityMappingsRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceCase()

public PurgeIdentityMappingsRequest.SourceCase getSourceCase()
Returns
Type Description
PurgeIdentityMappingsRequest.SourceCase

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;

Returns
Type Description
boolean

Whether the force field is set.

hasInlineSource()

public boolean hasInlineSource()

The inline source to purge identity mapping entries from.

.google.cloud.discoveryengine.v1.PurgeIdentityMappingsRequest.InlineSource inline_source = 2;

Returns
Type Description
boolean

Whether the inlineSource field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PurgeIdentityMappingsRequest.Builder newBuilderForType()
Returns
Type Description
PurgeIdentityMappingsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PurgeIdentityMappingsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PurgeIdentityMappingsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PurgeIdentityMappingsRequest.Builder toBuilder()
Returns
Type Description
PurgeIdentityMappingsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException