Class ImportEntriesMetadata.Builder (1.30.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.rpc.Status>
Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Status.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportEntriesMetadata build()
Returns
TypeDescription
ImportEntriesMetadata

buildPartial()

public ImportEntriesMetadata buildPartial()
Returns
TypeDescription
ImportEntriesMetadata

clear()

public ImportEntriesMetadata.Builder clear()
Returns
TypeDescription
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
TypeDescription
ImportEntriesMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public ImportEntriesMetadata.Builder clearState()

State of the import operation.

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

Returns
TypeDescription
ImportEntriesMetadata.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ImportEntriesMetadata getDefaultInstanceForType()
Returns
TypeDescription
ImportEntriesMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ImportEntriesMetadata.ImportState

The state.

getStateValue()

public int getStateValue()

State of the import operation.

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

Returns
TypeDescription
int

The enum numeric value on the wire for state.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImportEntriesMetadata other)

public ImportEntriesMetadata.Builder mergeFrom(ImportEntriesMetadata other)
Parameter
NameDescription
otherImportEntriesMetadata
Returns
TypeDescription
ImportEntriesMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportEntriesMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
indexint
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
ImportEntriesMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ImportEntriesMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueImportEntriesMetadata.ImportState

The state to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
ImportEntriesMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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