Class ImportEntriesMetadata.Builder (1.50.0)

public static final class ImportEntriesMetadata.Builder extends GeneratedMessageV3.Builder<ImportEntriesMetadata.Builder> implements ImportEntriesMetadataOrBuilder

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

Protobuf type google.cloud.datacatalog.v1.ImportEntriesMetadata

Static Methods

getDescriptor()

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

Methods

addAllErrors(Iterable<? extends Status> values)

public ImportEntriesMetadata.Builder addAllErrors(Iterable<? extends Status> values)

Partial errors that are encountered during the ImportEntries operation. There is no guarantee that all the encountered errors are reported. However, if no errors are reported, it means that no errors were encountered.

repeated .google.rpc.Status errors = 2;

Parameter
Name Description
values Iterable<? extends com.google.rpc.Status>
Returns
Type Description
ImportEntriesMetadata.Builder

addErrors(Status value)

public ImportEntriesMetadata.Builder addErrors(Status value)

Partial errors that are encountered during the ImportEntries operation. There is no guarantee that all the encountered errors are reported. However, if no errors are reported, it means that no errors were encountered.

repeated .google.rpc.Status errors = 2;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
ImportEntriesMetadata.Builder

addErrors(Status.Builder builderForValue)

public ImportEntriesMetadata.Builder addErrors(Status.Builder builderForValue)

Partial errors that are encountered during the ImportEntries operation. There is no guarantee that all the encountered errors are reported. However, if no errors are reported, it means that no errors were encountered.

repeated .google.rpc.Status errors = 2;

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
ImportEntriesMetadata.Builder

addErrors(int index, Status value)

public ImportEntriesMetadata.Builder addErrors(int index, Status value)

Partial errors that are encountered during the ImportEntries operation. There is no guarantee that all the encountered errors are reported. However, if no errors are reported, it means that no errors were encountered.

repeated .google.rpc.Status errors = 2;

Parameters
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
ImportEntriesMetadata.Builder

addErrors(int index, Status.Builder builderForValue)

public ImportEntriesMetadata.Builder addErrors(int index, Status.Builder builderForValue)

Partial errors that are encountered during the ImportEntries operation. There is no guarantee that all the encountered errors are reported. However, if no errors are reported, it means that no errors were encountered.

repeated .google.rpc.Status errors = 2;

Parameters
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
ImportEntriesMetadata.Builder

addErrorsBuilder()

public Status.Builder addErrorsBuilder()

Partial errors that are encountered during the ImportEntries operation. There is no guarantee that all the encountered errors are reported. However, if no errors are reported, it means that no errors were encountered.

repeated .google.rpc.Status errors = 2;

Returns
Type Description
com.google.rpc.Status.Builder

addErrorsBuilder(int index)

public Status.Builder addErrorsBuilder(int index)

Partial errors that are encountered during the ImportEntries operation. There is no guarantee that all the encountered errors are reported. However, if no errors are reported, it means that no errors were encountered.

repeated .google.rpc.Status errors = 2;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportEntriesMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportEntriesMetadata.Builder
Overrides

build()

public ImportEntriesMetadata build()
Returns
Type Description
ImportEntriesMetadata

buildPartial()

public ImportEntriesMetadata buildPartial()
Returns
Type Description
ImportEntriesMetadata

clear()

public ImportEntriesMetadata.Builder clear()
Returns
Type Description
ImportEntriesMetadata.Builder
Overrides

clearErrors()

public ImportEntriesMetadata.Builder clearErrors()

Partial errors that are encountered during the ImportEntries operation. There is no guarantee that all the encountered errors are reported. However, if no errors are reported, it means that no errors were encountered.

repeated .google.rpc.Status errors = 2;

Returns
Type Description
ImportEntriesMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public ImportEntriesMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImportEntriesMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportEntriesMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportEntriesMetadata.Builder
Overrides

clearState()

public ImportEntriesMetadata.Builder clearState()

State of the import operation.

.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState state = 1;

Returns
Type Description
ImportEntriesMetadata.Builder

This builder for chaining.

clone()

public ImportEntriesMetadata.Builder clone()
Returns
Type Description
ImportEntriesMetadata.Builder
Overrides

getDefaultInstanceForType()

public ImportEntriesMetadata getDefaultInstanceForType()
Returns
Type Description
ImportEntriesMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getErrors(int index)

public Status getErrors(int index)

Partial errors that are encountered during the ImportEntries operation. There is no guarantee that all the encountered errors are reported. However, if no errors are reported, it means that no errors were encountered.

repeated .google.rpc.Status errors = 2;

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

getErrorsBuilder(int index)

public Status.Builder getErrorsBuilder(int index)

Partial errors that are encountered during the ImportEntries operation. There is no guarantee that all the encountered errors are reported. However, if no errors are reported, it means that no errors were encountered.

repeated .google.rpc.Status errors = 2;

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

getErrorsBuilderList()

public List<Status.Builder> getErrorsBuilderList()

Partial errors that are encountered during the ImportEntries operation. There is no guarantee that all the encountered errors are reported. However, if no errors are reported, it means that no errors were encountered.

repeated .google.rpc.Status errors = 2;

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

getErrorsCount()

public int getErrorsCount()

Partial errors that are encountered during the ImportEntries operation. There is no guarantee that all the encountered errors are reported. However, if no errors are reported, it means that no errors were encountered.

repeated .google.rpc.Status errors = 2;

Returns
Type Description
int

getErrorsList()

public List<Status> getErrorsList()

Partial errors that are encountered during the ImportEntries operation. There is no guarantee that all the encountered errors are reported. However, if no errors are reported, it means that no errors were encountered.

repeated .google.rpc.Status errors = 2;

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

getErrorsOrBuilder(int index)

public StatusOrBuilder getErrorsOrBuilder(int index)

Partial errors that are encountered during the ImportEntries operation. There is no guarantee that all the encountered errors are reported. However, if no errors are reported, it means that no errors were encountered.

repeated .google.rpc.Status errors = 2;

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

getErrorsOrBuilderList()

public List<? extends StatusOrBuilder> getErrorsOrBuilderList()

Partial errors that are encountered during the ImportEntries operation. There is no guarantee that all the encountered errors are reported. However, if no errors are reported, it means that no errors were encountered.

repeated .google.rpc.Status errors = 2;

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

getState()

public ImportEntriesMetadata.ImportState getState()

State of the import operation.

.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState state = 1;

Returns
Type Description
ImportEntriesMetadata.ImportState

The state.

getStateValue()

public int getStateValue()

State of the import operation.

.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState state = 1;

Returns
Type Description
int

The enum numeric value on the wire for state.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportEntriesMetadata other)

public ImportEntriesMetadata.Builder mergeFrom(ImportEntriesMetadata other)
Parameter
Name Description
other ImportEntriesMetadata
Returns
Type Description
ImportEntriesMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportEntriesMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportEntriesMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImportEntriesMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImportEntriesMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportEntriesMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportEntriesMetadata.Builder
Overrides

removeErrors(int index)

public ImportEntriesMetadata.Builder removeErrors(int index)

Partial errors that are encountered during the ImportEntries operation. There is no guarantee that all the encountered errors are reported. However, if no errors are reported, it means that no errors were encountered.

repeated .google.rpc.Status errors = 2;

Parameter
Name Description
index int
Returns
Type Description
ImportEntriesMetadata.Builder

setErrors(int index, Status value)

public ImportEntriesMetadata.Builder setErrors(int index, Status value)

Partial errors that are encountered during the ImportEntries operation. There is no guarantee that all the encountered errors are reported. However, if no errors are reported, it means that no errors were encountered.

repeated .google.rpc.Status errors = 2;

Parameters
Name Description
index int
value com.google.rpc.Status
Returns
Type Description
ImportEntriesMetadata.Builder

setErrors(int index, Status.Builder builderForValue)

public ImportEntriesMetadata.Builder setErrors(int index, Status.Builder builderForValue)

Partial errors that are encountered during the ImportEntries operation. There is no guarantee that all the encountered errors are reported. However, if no errors are reported, it means that no errors were encountered.

repeated .google.rpc.Status errors = 2;

Parameters
Name Description
index int
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
ImportEntriesMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImportEntriesMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportEntriesMetadata.Builder
Overrides

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

public ImportEntriesMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportEntriesMetadata.Builder
Overrides

setState(ImportEntriesMetadata.ImportState value)

public ImportEntriesMetadata.Builder setState(ImportEntriesMetadata.ImportState value)

State of the import operation.

.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState state = 1;

Parameter
Name Description
value ImportEntriesMetadata.ImportState

The state to set.

Returns
Type Description
ImportEntriesMetadata.Builder

This builder for chaining.

setStateValue(int value)

public ImportEntriesMetadata.Builder setStateValue(int value)

State of the import operation.

.google.cloud.datacatalog.v1.ImportEntriesMetadata.ImportState state = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
ImportEntriesMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportEntriesMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportEntriesMetadata.Builder
Overrides