Class Action.InvalidDataFormat (1.34.0)

public static final class Action.InvalidDataFormat extends GeneratedMessageV3 implements Action.InvalidDataFormatOrBuilder

Action details for invalid or unsupported data files detected by discovery.

Protobuf type google.cloud.dataplex.v1.Action.InvalidDataFormat

Static Fields

EXPECTED_FORMAT_FIELD_NUMBER

public static final int EXPECTED_FORMAT_FIELD_NUMBER
Field Value
TypeDescription
int

NEW_FORMAT_FIELD_NUMBER

public static final int NEW_FORMAT_FIELD_NUMBER
Field Value
TypeDescription
int

SAMPLED_DATA_LOCATIONS_FIELD_NUMBER

public static final int SAMPLED_DATA_LOCATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Action.InvalidDataFormat getDefaultInstance()
Returns
TypeDescription
Action.InvalidDataFormat

getDescriptor()

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

newBuilder()

public static Action.InvalidDataFormat.Builder newBuilder()
Returns
TypeDescription
Action.InvalidDataFormat.Builder

newBuilder(Action.InvalidDataFormat prototype)

public static Action.InvalidDataFormat.Builder newBuilder(Action.InvalidDataFormat prototype)
Parameter
NameDescription
prototypeAction.InvalidDataFormat
Returns
TypeDescription
Action.InvalidDataFormat.Builder

parseDelimitedFrom(InputStream input)

public static Action.InvalidDataFormat parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Action.InvalidDataFormat
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Action.InvalidDataFormat parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Action.InvalidDataFormat
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Action.InvalidDataFormat parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Action.InvalidDataFormat
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Action.InvalidDataFormat parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Action.InvalidDataFormat
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Action.InvalidDataFormat parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Action.InvalidDataFormat
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Action.InvalidDataFormat> parser()
Returns
TypeDescription
Parser<InvalidDataFormat>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Action.InvalidDataFormat getDefaultInstanceForType()
Returns
TypeDescription
Action.InvalidDataFormat

getExpectedFormat()

public String getExpectedFormat()

The expected data format of the entity.

string expected_format = 2;

Returns
TypeDescription
String

The expectedFormat.

getExpectedFormatBytes()

public ByteString getExpectedFormatBytes()

The expected data format of the entity.

string expected_format = 2;

Returns
TypeDescription
ByteString

The bytes for expectedFormat.

getNewFormat()

public String getNewFormat()

The new unexpected data format within the entity.

string new_format = 3;

Returns
TypeDescription
String

The newFormat.

getNewFormatBytes()

public ByteString getNewFormatBytes()

The new unexpected data format within the entity.

string new_format = 3;

Returns
TypeDescription
ByteString

The bytes for newFormat.

getParserForType()

public Parser<Action.InvalidDataFormat> getParserForType()
Returns
TypeDescription
Parser<InvalidDataFormat>
Overrides

getSampledDataLocations(int index)

public String getSampledDataLocations(int index)

The list of data locations sampled and used for format/schema inference.

repeated string sampled_data_locations = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The sampledDataLocations at the given index.

getSampledDataLocationsBytes(int index)

public ByteString getSampledDataLocationsBytes(int index)

The list of data locations sampled and used for format/schema inference.

repeated string sampled_data_locations = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the sampledDataLocations at the given index.

getSampledDataLocationsCount()

public int getSampledDataLocationsCount()

The list of data locations sampled and used for format/schema inference.

repeated string sampled_data_locations = 1;

Returns
TypeDescription
int

The count of sampledDataLocations.

getSampledDataLocationsList()

public ProtocolStringList getSampledDataLocationsList()

The list of data locations sampled and used for format/schema inference.

repeated string sampled_data_locations = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the sampledDataLocations.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 Action.InvalidDataFormat.Builder newBuilderForType()
Returns
TypeDescription
Action.InvalidDataFormat.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Action.InvalidDataFormat.Builder toBuilder()
Returns
TypeDescription
Action.InvalidDataFormat.Builder

writeTo(CodedOutputStream output)

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