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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Action.InvalidDataFormat.BuilderImplements
Action.InvalidDataFormatOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
values |
Iterable<String> The sampledDataLocations to add. |
Returns | |
---|---|
Type | Description |
Action.InvalidDataFormat.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Action.InvalidDataFormat.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Action.InvalidDataFormat.Builder |
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 | |
---|---|
Name | Description |
value |
String The sampledDataLocations to add. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes of the sampledDataLocations to add. |
Returns | |
---|---|
Type | Description |
Action.InvalidDataFormat.Builder |
This builder for chaining. |
build()
public Action.InvalidDataFormat build()
Returns | |
---|---|
Type | Description |
Action.InvalidDataFormat |
buildPartial()
public Action.InvalidDataFormat buildPartial()
Returns | |
---|---|
Type | Description |
Action.InvalidDataFormat |
clear()
public Action.InvalidDataFormat.Builder clear()
Returns | |
---|---|
Type | Description |
Action.InvalidDataFormat.Builder |
clearExpectedFormat()
public Action.InvalidDataFormat.Builder clearExpectedFormat()
The expected data format of the entity.
string expected_format = 2;
Returns | |
---|---|
Type | Description |
Action.InvalidDataFormat.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Action.InvalidDataFormat.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Action.InvalidDataFormat.Builder |
clearNewFormat()
public Action.InvalidDataFormat.Builder clearNewFormat()
The new unexpected data format within the entity.
string new_format = 3;
Returns | |
---|---|
Type | Description |
Action.InvalidDataFormat.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Action.InvalidDataFormat.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Action.InvalidDataFormat.Builder |
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 | |
---|---|
Type | Description |
Action.InvalidDataFormat.Builder |
This builder for chaining. |
clone()
public Action.InvalidDataFormat.Builder clone()
Returns | |
---|---|
Type | Description |
Action.InvalidDataFormat.Builder |
getDefaultInstanceForType()
public Action.InvalidDataFormat getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Action.InvalidDataFormat |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getExpectedFormat()
public String getExpectedFormat()
The expected data format of the entity.
string expected_format = 2;
Returns | |
---|---|
Type | Description |
String |
The expectedFormat. |
getExpectedFormatBytes()
public ByteString getExpectedFormatBytes()
The expected data format of the entity.
string expected_format = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for expectedFormat. |
getNewFormat()
public String getNewFormat()
The new unexpected data format within the entity.
string new_format = 3;
Returns | |
---|---|
Type | Description |
String |
The newFormat. |
getNewFormatBytes()
public ByteString getNewFormatBytes()
The new unexpected data format within the entity.
string new_format = 3;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the sampledDataLocations. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Action.InvalidDataFormat other)
public Action.InvalidDataFormat.Builder mergeFrom(Action.InvalidDataFormat other)
Parameter | |
---|---|
Name | Description |
other |
Action.InvalidDataFormat |
Returns | |
---|---|
Type | Description |
Action.InvalidDataFormat.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Action.InvalidDataFormat.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Action.InvalidDataFormat.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Action.InvalidDataFormat.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Action.InvalidDataFormat.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Action.InvalidDataFormat.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Action.InvalidDataFormat.Builder |
setExpectedFormat(String value)
public Action.InvalidDataFormat.Builder setExpectedFormat(String value)
The expected data format of the entity.
string expected_format = 2;
Parameter | |
---|---|
Name | Description |
value |
String The expectedFormat to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for expectedFormat to set. |
Returns | |
---|---|
Type | Description |
Action.InvalidDataFormat.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Action.InvalidDataFormat.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Action.InvalidDataFormat.Builder |
setNewFormat(String value)
public Action.InvalidDataFormat.Builder setNewFormat(String value)
The new unexpected data format within the entity.
string new_format = 3;
Parameter | |
---|---|
Name | Description |
value |
String The newFormat to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for newFormat to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Action.InvalidDataFormat.Builder |
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 | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The sampledDataLocations to set. |
Returns | |
---|---|
Type | Description |
Action.InvalidDataFormat.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Action.InvalidDataFormat.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Action.InvalidDataFormat.Builder |