Class ImportEntriesMetadata (1.21.0)

public final class ImportEntriesMetadata extends GeneratedMessageV3 implements ImportEntriesMetadataOrBuilder

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

Protobuf type google.cloud.datacatalog.v1.ImportEntriesMetadata

Static Fields

ERRORS_FIELD_NUMBER

public static final int ERRORS_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportEntriesMetadata getDefaultInstance()
Returns
TypeDescription
ImportEntriesMetadata

getDescriptor()

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

newBuilder()

public static ImportEntriesMetadata.Builder newBuilder()
Returns
TypeDescription
ImportEntriesMetadata.Builder

newBuilder(ImportEntriesMetadata prototype)

public static ImportEntriesMetadata.Builder newBuilder(ImportEntriesMetadata prototype)
Parameter
NameDescription
prototypeImportEntriesMetadata
Returns
TypeDescription
ImportEntriesMetadata.Builder

parseDelimitedFrom(InputStream input)

public static ImportEntriesMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportEntriesMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportEntriesMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportEntriesMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ImportEntriesMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ImportEntriesMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportEntriesMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportEntriesMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportEntriesMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ImportEntriesMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportEntriesMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportEntriesMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportEntriesMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ImportEntriesMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportEntriesMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportEntriesMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ImportEntriesMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportEntriesMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportEntriesMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportEntriesMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ImportEntriesMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ImportEntriesMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportEntriesMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportEntriesMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ImportEntriesMetadata> parser()
Returns
TypeDescription
Parser<ImportEntriesMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ImportEntriesMetadata getDefaultInstanceForType()
Returns
TypeDescription
ImportEntriesMetadata

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

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>

getParserForType()

public Parser<ImportEntriesMetadata> getParserForType()
Returns
TypeDescription
Parser<ImportEntriesMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ImportEntriesMetadata.Builder newBuilderForType()
Returns
TypeDescription
ImportEntriesMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportEntriesMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ImportEntriesMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ImportEntriesMetadata.Builder toBuilder()
Returns
TypeDescription
ImportEntriesMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException