Class ImportEntriesResponse.Builder (1.23.0)

public static final class ImportEntriesResponse.Builder extends GeneratedMessageV3.Builder<ImportEntriesResponse.Builder> implements ImportEntriesResponseOrBuilder

Response message for long-running operation returned by the ImportEntries.

Protobuf type google.cloud.datacatalog.v1.ImportEntriesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportEntriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportEntriesResponse.Builder
Overrides

build()

public ImportEntriesResponse build()
Returns
TypeDescription
ImportEntriesResponse

buildPartial()

public ImportEntriesResponse buildPartial()
Returns
TypeDescription
ImportEntriesResponse

clear()

public ImportEntriesResponse.Builder clear()
Returns
TypeDescription
ImportEntriesResponse.Builder
Overrides

clearDeletedEntriesCount()

public ImportEntriesResponse.Builder clearDeletedEntriesCount()

Number of entries deleted as a result of import operation.

optional int64 deleted_entries_count = 6;

Returns
TypeDescription
ImportEntriesResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ImportEntriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ImportEntriesResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportEntriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ImportEntriesResponse.Builder
Overrides

clearUpsertedEntriesCount()

public ImportEntriesResponse.Builder clearUpsertedEntriesCount()

Cumulative number of entries created and entries updated as a result of import operation.

optional int64 upserted_entries_count = 5;

Returns
TypeDescription
ImportEntriesResponse.Builder

This builder for chaining.

clone()

public ImportEntriesResponse.Builder clone()
Returns
TypeDescription
ImportEntriesResponse.Builder
Overrides

getDefaultInstanceForType()

public ImportEntriesResponse getDefaultInstanceForType()
Returns
TypeDescription
ImportEntriesResponse

getDeletedEntriesCount()

public long getDeletedEntriesCount()

Number of entries deleted as a result of import operation.

optional int64 deleted_entries_count = 6;

Returns
TypeDescription
long

The deletedEntriesCount.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUpsertedEntriesCount()

public long getUpsertedEntriesCount()

Cumulative number of entries created and entries updated as a result of import operation.

optional int64 upserted_entries_count = 5;

Returns
TypeDescription
long

The upsertedEntriesCount.

hasDeletedEntriesCount()

public boolean hasDeletedEntriesCount()

Number of entries deleted as a result of import operation.

optional int64 deleted_entries_count = 6;

Returns
TypeDescription
boolean

Whether the deletedEntriesCount field is set.

hasUpsertedEntriesCount()

public boolean hasUpsertedEntriesCount()

Cumulative number of entries created and entries updated as a result of import operation.

optional int64 upserted_entries_count = 5;

Returns
TypeDescription
boolean

Whether the upsertedEntriesCount field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImportEntriesResponse other)

public ImportEntriesResponse.Builder mergeFrom(ImportEntriesResponse other)
Parameter
NameDescription
otherImportEntriesResponse
Returns
TypeDescription
ImportEntriesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportEntriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportEntriesResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ImportEntriesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ImportEntriesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportEntriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportEntriesResponse.Builder
Overrides

setDeletedEntriesCount(long value)

public ImportEntriesResponse.Builder setDeletedEntriesCount(long value)

Number of entries deleted as a result of import operation.

optional int64 deleted_entries_count = 6;

Parameter
NameDescription
valuelong

The deletedEntriesCount to set.

Returns
TypeDescription
ImportEntriesResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ImportEntriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportEntriesResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ImportEntriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImportEntriesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportEntriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportEntriesResponse.Builder
Overrides

setUpsertedEntriesCount(long value)

public ImportEntriesResponse.Builder setUpsertedEntriesCount(long value)

Cumulative number of entries created and entries updated as a result of import operation.

optional int64 upserted_entries_count = 5;

Parameter
NameDescription
valuelong

The upsertedEntriesCount to set.

Returns
TypeDescription
ImportEntriesResponse.Builder

This builder for chaining.