public static final class ImportUserEventsResponse.Builder extends GeneratedMessage.Builder<ImportUserEventsResponse.Builder> implements ImportUserEventsResponseOrBuilderResponse 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.v1alpha.ImportUserEventsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ImportUserEventsResponse.BuilderImplements
ImportUserEventsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllErrorSamples(Iterable<? extends Status> values)
public ImportUserEventsResponse.Builder addAllErrorSamples(Iterable<? extends Status> values)A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.rpc.Status> |
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsResponse.Builder |
|
addErrorSamples(Status value)
public ImportUserEventsResponse.Builder addErrorSamples(Status value)A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.rpc.Status |
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsResponse.Builder |
|
addErrorSamples(Status.Builder builderForValue)
public ImportUserEventsResponse.Builder addErrorSamples(Status.Builder builderForValue)A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.rpc.Status.Builder |
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsResponse.Builder |
|
addErrorSamples(int index, Status value)
public ImportUserEventsResponse.Builder addErrorSamples(int index, Status value)A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
com.google.rpc.Status |
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsResponse.Builder |
|
addErrorSamples(int index, Status.Builder builderForValue)
public ImportUserEventsResponse.Builder addErrorSamples(int index, Status.Builder builderForValue)A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
com.google.rpc.Status.Builder |
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsResponse.Builder |
|
addErrorSamplesBuilder()
public Status.Builder addErrorSamplesBuilder()A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.Status.Builder |
|
addErrorSamplesBuilder(int index)
public Status.Builder addErrorSamplesBuilder(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.Builder |
|
build()
public ImportUserEventsResponse build()| Returns | |
|---|---|
| Type | Description |
ImportUserEventsResponse |
|
buildPartial()
public ImportUserEventsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ImportUserEventsResponse |
|
clear()
public ImportUserEventsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ImportUserEventsResponse.Builder |
|
clearErrorConfig()
public ImportUserEventsResponse.Builder clearErrorConfig()Echoes the destination for the complete errors if this field was set in the request.
.google.cloud.discoveryengine.v1alpha.ImportErrorConfig error_config = 2;
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsResponse.Builder |
|
clearErrorSamples()
public ImportUserEventsResponse.Builder clearErrorSamples()A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsResponse.Builder |
|
clearJoinedEventsCount()
public ImportUserEventsResponse.Builder clearJoinedEventsCount()Count of user events imported with complete existing Documents.
int64 joined_events_count = 3;
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsResponse.Builder |
This builder for chaining. |
clearUnjoinedEventsCount()
public ImportUserEventsResponse.Builder clearUnjoinedEventsCount()Count of user events imported, but with Document information not found in the existing Branch.
int64 unjoined_events_count = 4;
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ImportUserEventsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ImportUserEventsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getErrorConfig()
public ImportErrorConfig getErrorConfig()Echoes the destination for the complete errors if this field was set in the request.
.google.cloud.discoveryengine.v1alpha.ImportErrorConfig error_config = 2;
| Returns | |
|---|---|
| Type | Description |
ImportErrorConfig |
The errorConfig. |
getErrorConfigBuilder()
public ImportErrorConfig.Builder getErrorConfigBuilder()Echoes the destination for the complete errors if this field was set in the request.
.google.cloud.discoveryengine.v1alpha.ImportErrorConfig error_config = 2;
| Returns | |
|---|---|
| Type | Description |
ImportErrorConfig.Builder |
|
getErrorConfigOrBuilder()
public ImportErrorConfigOrBuilder getErrorConfigOrBuilder()Echoes the destination for the complete errors if this field was set in the request.
.google.cloud.discoveryengine.v1alpha.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 |
|
getErrorSamplesBuilder(int index)
public Status.Builder getErrorSamplesBuilder(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.Builder |
|
getErrorSamplesBuilderList()
public List<Status.Builder> getErrorSamplesBuilderList()A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
| Returns | |
|---|---|
| Type | Description |
List<com.google.rpc.Status.Builder> |
|
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. |
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.v1alpha.ImportErrorConfig error_config = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the errorConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeErrorConfig(ImportErrorConfig value)
public ImportUserEventsResponse.Builder mergeErrorConfig(ImportErrorConfig value)Echoes the destination for the complete errors if this field was set in the request.
.google.cloud.discoveryengine.v1alpha.ImportErrorConfig error_config = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ImportErrorConfig |
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsResponse.Builder |
|
mergeFrom(ImportUserEventsResponse other)
public ImportUserEventsResponse.Builder mergeFrom(ImportUserEventsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ImportUserEventsResponse |
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportUserEventsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ImportUserEventsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsResponse.Builder |
|
removeErrorSamples(int index)
public ImportUserEventsResponse.Builder removeErrorSamples(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 |
ImportUserEventsResponse.Builder |
|
setErrorConfig(ImportErrorConfig value)
public ImportUserEventsResponse.Builder setErrorConfig(ImportErrorConfig value)Echoes the destination for the complete errors if this field was set in the request.
.google.cloud.discoveryengine.v1alpha.ImportErrorConfig error_config = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ImportErrorConfig |
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsResponse.Builder |
|
setErrorConfig(ImportErrorConfig.Builder builderForValue)
public ImportUserEventsResponse.Builder setErrorConfig(ImportErrorConfig.Builder builderForValue)Echoes the destination for the complete errors if this field was set in the request.
.google.cloud.discoveryengine.v1alpha.ImportErrorConfig error_config = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ImportErrorConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsResponse.Builder |
|
setErrorSamples(int index, Status value)
public ImportUserEventsResponse.Builder setErrorSamples(int index, Status value)A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
com.google.rpc.Status |
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsResponse.Builder |
|
setErrorSamples(int index, Status.Builder builderForValue)
public ImportUserEventsResponse.Builder setErrorSamples(int index, Status.Builder builderForValue)A sample of errors encountered while processing the request.
repeated .google.rpc.Status error_samples = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
com.google.rpc.Status.Builder |
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsResponse.Builder |
|
setJoinedEventsCount(long value)
public ImportUserEventsResponse.Builder setJoinedEventsCount(long value)Count of user events imported with complete existing Documents.
int64 joined_events_count = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe joinedEventsCount to set. |
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsResponse.Builder |
This builder for chaining. |
setUnjoinedEventsCount(long value)
public ImportUserEventsResponse.Builder setUnjoinedEventsCount(long value)Count of user events imported, but with Document information not found in the existing Branch.
int64 unjoined_events_count = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe unjoinedEventsCount to set. |
| Returns | |
|---|---|
| Type | Description |
ImportUserEventsResponse.Builder |
This builder for chaining. |