Class Action.InvalidDataFormat.Builder (1.26.0)

public static final class Action.InvalidDataFormat.Builder extends GeneratedMessageV3.Builder<Action.InvalidDataFormat.Builder> implements Action.InvalidDataFormatOrBuilder

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

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

Static Methods

getDescriptor()

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

Methods

addAllSampledDataLocations(Iterable<String> values)

public Action.InvalidDataFormat.Builder addAllSampledDataLocations(Iterable<String> values)

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

repeated string sampled_data_locations = 1;

Parameter
NameDescription
valuesIterable<String>

The sampledDataLocations to add.

Returns
TypeDescription
Action.InvalidDataFormat.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSampledDataLocations(String value)

public Action.InvalidDataFormat.Builder addSampledDataLocations(String value)

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

repeated string sampled_data_locations = 1;

Parameter
NameDescription
valueString

The sampledDataLocations to add.

Returns
TypeDescription
Action.InvalidDataFormat.Builder

This builder for chaining.

addSampledDataLocationsBytes(ByteString value)

public Action.InvalidDataFormat.Builder addSampledDataLocationsBytes(ByteString value)

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

repeated string sampled_data_locations = 1;

Parameter
NameDescription
valueByteString

The bytes of the sampledDataLocations to add.

Returns
TypeDescription
Action.InvalidDataFormat.Builder

This builder for chaining.

build()

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

buildPartial()

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

clear()

public Action.InvalidDataFormat.Builder clear()
Returns
TypeDescription
Action.InvalidDataFormat.Builder
Overrides

clearExpectedFormat()

public Action.InvalidDataFormat.Builder clearExpectedFormat()

The expected data format of the entity.

string expected_format = 2;

Returns
TypeDescription
Action.InvalidDataFormat.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearNewFormat()

public Action.InvalidDataFormat.Builder clearNewFormat()

The new unexpected data format within the entity.

string new_format = 3;

Returns
TypeDescription
Action.InvalidDataFormat.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSampledDataLocations()

public Action.InvalidDataFormat.Builder clearSampledDataLocations()

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

repeated string sampled_data_locations = 1;

Returns
TypeDescription
Action.InvalidDataFormat.Builder

This builder for chaining.

clone()

public Action.InvalidDataFormat.Builder clone()
Returns
TypeDescription
Action.InvalidDataFormat.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Action.InvalidDataFormat other)

public Action.InvalidDataFormat.Builder mergeFrom(Action.InvalidDataFormat other)
Parameter
NameDescription
otherAction.InvalidDataFormat
Returns
TypeDescription
Action.InvalidDataFormat.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setExpectedFormat(String value)

public Action.InvalidDataFormat.Builder setExpectedFormat(String value)

The expected data format of the entity.

string expected_format = 2;

Parameter
NameDescription
valueString

The expectedFormat to set.

Returns
TypeDescription
Action.InvalidDataFormat.Builder

This builder for chaining.

setExpectedFormatBytes(ByteString value)

public Action.InvalidDataFormat.Builder setExpectedFormatBytes(ByteString value)

The expected data format of the entity.

string expected_format = 2;

Parameter
NameDescription
valueByteString

The bytes for expectedFormat to set.

Returns
TypeDescription
Action.InvalidDataFormat.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setNewFormat(String value)

public Action.InvalidDataFormat.Builder setNewFormat(String value)

The new unexpected data format within the entity.

string new_format = 3;

Parameter
NameDescription
valueString

The newFormat to set.

Returns
TypeDescription
Action.InvalidDataFormat.Builder

This builder for chaining.

setNewFormatBytes(ByteString value)

public Action.InvalidDataFormat.Builder setNewFormatBytes(ByteString value)

The new unexpected data format within the entity.

string new_format = 3;

Parameter
NameDescription
valueByteString

The bytes for newFormat to set.

Returns
TypeDescription
Action.InvalidDataFormat.Builder

This builder for chaining.

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

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

setSampledDataLocations(int index, String value)

public Action.InvalidDataFormat.Builder setSampledDataLocations(int index, String value)

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

repeated string sampled_data_locations = 1;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The sampledDataLocations to set.

Returns
TypeDescription
Action.InvalidDataFormat.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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