Class ImportUserEventsResponse (0.49.0)

public final class ImportUserEventsResponse extends GeneratedMessageV3 implements ImportUserEventsResponseOrBuilder

Response of the ImportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.

Protobuf type google.cloud.discoveryengine.v1beta.ImportUserEventsResponse

Static Fields

ERROR_CONFIG_FIELD_NUMBER

public static final int ERROR_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

ERROR_SAMPLES_FIELD_NUMBER

public static final int ERROR_SAMPLES_FIELD_NUMBER
Field Value
Type Description
int

JOINED_EVENTS_COUNT_FIELD_NUMBER

public static final int JOINED_EVENTS_COUNT_FIELD_NUMBER
Field Value
Type Description
int

UNJOINED_EVENTS_COUNT_FIELD_NUMBER

public static final int UNJOINED_EVENTS_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportUserEventsResponse getDefaultInstance()
Returns
Type Description
ImportUserEventsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ImportUserEventsResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ImportUserEventsResponse getDefaultInstanceForType()
Returns
Type Description
ImportUserEventsResponse

getErrorConfig()

public ImportErrorConfig getErrorConfig()

Echoes the destination for the complete errors if this field was set in the request.

.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 2;

Returns
Type Description
ImportErrorConfig

The errorConfig.

getErrorConfigOrBuilder()

public ImportErrorConfigOrBuilder getErrorConfigOrBuilder()

Echoes the destination for the complete errors if this field was set in the request.

.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 2;

Returns
Type Description
ImportErrorConfigOrBuilder

getErrorSamples(int index)

public Status getErrorSamples(int index)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status

getErrorSamplesCount()

public int getErrorSamplesCount()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Returns
Type Description
int

getErrorSamplesList()

public List<Status> getErrorSamplesList()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Returns
Type Description
List<com.google.rpc.Status>

getErrorSamplesOrBuilder(int index)

public StatusOrBuilder getErrorSamplesOrBuilder(int index)

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.StatusOrBuilder

getErrorSamplesOrBuilderList()

public List<? extends StatusOrBuilder> getErrorSamplesOrBuilderList()

A sample of errors encountered while processing the request.

repeated .google.rpc.Status error_samples = 1;

Returns
Type Description
List<? extends com.google.rpc.StatusOrBuilder>

getJoinedEventsCount()

public long getJoinedEventsCount()

Count of user events imported with complete existing Documents.

int64 joined_events_count = 3;

Returns
Type Description
long

The joinedEventsCount.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnjoinedEventsCount()

public long getUnjoinedEventsCount()

Count of user events imported, but with Document information not found in the existing Branch.

int64 unjoined_events_count = 4;

Returns
Type Description
long

The unjoinedEventsCount.

hasErrorConfig()

public boolean hasErrorConfig()

Echoes the destination for the complete errors if this field was set in the request.

.google.cloud.discoveryengine.v1beta.ImportErrorConfig error_config = 2;

Returns
Type Description
boolean

Whether the errorConfig 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 ImportUserEventsResponse.Builder newBuilderForType()
Returns
Type Description
ImportUserEventsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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