Package com.google.cloud.dataplex.v1
Class Action.InvalidDataFormat.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Action.InvalidDataFormat.Builder>
-
- com.google.cloud.dataplex.v1.Action.InvalidDataFormat.Builder
-
- All Implemented Interfaces:
Action.InvalidDataFormatOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Action.InvalidDataFormat
public static final class Action.InvalidDataFormat.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Action.InvalidDataFormat.Builder> implements Action.InvalidDataFormatOrBuilder
Action details for invalid or unsupported data files detected by discovery.
Protobuf typegoogle.cloud.dataplex.v1.Action.InvalidDataFormat
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Action.InvalidDataFormat.Builder
addAllSampledDataLocations(Iterable<String> values)
The list of data locations sampled and used for format/schema inference.Action.InvalidDataFormat.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Action.InvalidDataFormat.Builder
addSampledDataLocations(String value)
The list of data locations sampled and used for format/schema inference.Action.InvalidDataFormat.Builder
addSampledDataLocationsBytes(com.google.protobuf.ByteString value)
The list of data locations sampled and used for format/schema inference.Action.InvalidDataFormat
build()
Action.InvalidDataFormat
buildPartial()
Action.InvalidDataFormat.Builder
clear()
Action.InvalidDataFormat.Builder
clearExpectedFormat()
The expected data format of the entity.Action.InvalidDataFormat.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Action.InvalidDataFormat.Builder
clearNewFormat()
The new unexpected data format within the entity.Action.InvalidDataFormat.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Action.InvalidDataFormat.Builder
clearSampledDataLocations()
The list of data locations sampled and used for format/schema inference.Action.InvalidDataFormat.Builder
clone()
Action.InvalidDataFormat
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getExpectedFormat()
The expected data format of the entity.com.google.protobuf.ByteString
getExpectedFormatBytes()
The expected data format of the entity.String
getNewFormat()
The new unexpected data format within the entity.com.google.protobuf.ByteString
getNewFormatBytes()
The new unexpected data format within the entity.String
getSampledDataLocations(int index)
The list of data locations sampled and used for format/schema inference.com.google.protobuf.ByteString
getSampledDataLocationsBytes(int index)
The list of data locations sampled and used for format/schema inference.int
getSampledDataLocationsCount()
The list of data locations sampled and used for format/schema inference.com.google.protobuf.ProtocolStringList
getSampledDataLocationsList()
The list of data locations sampled and used for format/schema inference.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Action.InvalidDataFormat.Builder
mergeFrom(Action.InvalidDataFormat other)
Action.InvalidDataFormat.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Action.InvalidDataFormat.Builder
mergeFrom(com.google.protobuf.Message other)
Action.InvalidDataFormat.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Action.InvalidDataFormat.Builder
setExpectedFormat(String value)
The expected data format of the entity.Action.InvalidDataFormat.Builder
setExpectedFormatBytes(com.google.protobuf.ByteString value)
The expected data format of the entity.Action.InvalidDataFormat.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Action.InvalidDataFormat.Builder
setNewFormat(String value)
The new unexpected data format within the entity.Action.InvalidDataFormat.Builder
setNewFormatBytes(com.google.protobuf.ByteString value)
The new unexpected data format within the entity.Action.InvalidDataFormat.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Action.InvalidDataFormat.Builder
setSampledDataLocations(int index, String value)
The list of data locations sampled and used for format/schema inference.Action.InvalidDataFormat.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.InvalidDataFormat.Builder>
-
clear
public Action.InvalidDataFormat.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.InvalidDataFormat.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.InvalidDataFormat.Builder>
-
getDefaultInstanceForType
public Action.InvalidDataFormat getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Action.InvalidDataFormat build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Action.InvalidDataFormat buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Action.InvalidDataFormat.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.InvalidDataFormat.Builder>
-
setField
public Action.InvalidDataFormat.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.InvalidDataFormat.Builder>
-
clearField
public Action.InvalidDataFormat.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.InvalidDataFormat.Builder>
-
clearOneof
public Action.InvalidDataFormat.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.InvalidDataFormat.Builder>
-
setRepeatedField
public Action.InvalidDataFormat.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.InvalidDataFormat.Builder>
-
addRepeatedField
public Action.InvalidDataFormat.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.InvalidDataFormat.Builder>
-
mergeFrom
public Action.InvalidDataFormat.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Action.InvalidDataFormat.Builder>
-
mergeFrom
public Action.InvalidDataFormat.Builder mergeFrom(Action.InvalidDataFormat other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.InvalidDataFormat.Builder>
-
mergeFrom
public Action.InvalidDataFormat.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Action.InvalidDataFormat.Builder>
- Throws:
IOException
-
getSampledDataLocationsList
public com.google.protobuf.ProtocolStringList getSampledDataLocationsList()
The list of data locations sampled and used for format/schema inference.
repeated string sampled_data_locations = 1;
- Specified by:
getSampledDataLocationsList
in interfaceAction.InvalidDataFormatOrBuilder
- Returns:
- A list containing the sampledDataLocations.
-
getSampledDataLocationsCount
public int getSampledDataLocationsCount()
The list of data locations sampled and used for format/schema inference.
repeated string sampled_data_locations = 1;
- Specified by:
getSampledDataLocationsCount
in interfaceAction.InvalidDataFormatOrBuilder
- Returns:
- The count of sampledDataLocations.
-
getSampledDataLocations
public String getSampledDataLocations(int index)
The list of data locations sampled and used for format/schema inference.
repeated string sampled_data_locations = 1;
- Specified by:
getSampledDataLocations
in interfaceAction.InvalidDataFormatOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The sampledDataLocations at the given index.
-
getSampledDataLocationsBytes
public com.google.protobuf.ByteString getSampledDataLocationsBytes(int index)
The list of data locations sampled and used for format/schema inference.
repeated string sampled_data_locations = 1;
- Specified by:
getSampledDataLocationsBytes
in interfaceAction.InvalidDataFormatOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the sampledDataLocations at the given index.
-
setSampledDataLocations
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:
index
- The index to set the value at.value
- The sampledDataLocations to set.- Returns:
- This builder for chaining.
-
addSampledDataLocations
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;
- Parameters:
value
- The sampledDataLocations to add.- Returns:
- This builder for chaining.
-
addAllSampledDataLocations
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;
- Parameters:
values
- The sampledDataLocations to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
addSampledDataLocationsBytes
public Action.InvalidDataFormat.Builder addSampledDataLocationsBytes(com.google.protobuf.ByteString value)
The list of data locations sampled and used for format/schema inference.
repeated string sampled_data_locations = 1;
- Parameters:
value
- The bytes of the sampledDataLocations to add.- Returns:
- This builder for chaining.
-
getExpectedFormat
public String getExpectedFormat()
The expected data format of the entity.
string expected_format = 2;
- Specified by:
getExpectedFormat
in interfaceAction.InvalidDataFormatOrBuilder
- Returns:
- The expectedFormat.
-
getExpectedFormatBytes
public com.google.protobuf.ByteString getExpectedFormatBytes()
The expected data format of the entity.
string expected_format = 2;
- Specified by:
getExpectedFormatBytes
in interfaceAction.InvalidDataFormatOrBuilder
- Returns:
- The bytes for expectedFormat.
-
setExpectedFormat
public Action.InvalidDataFormat.Builder setExpectedFormat(String value)
The expected data format of the entity.
string expected_format = 2;
- Parameters:
value
- The expectedFormat to set.- Returns:
- This builder for chaining.
-
clearExpectedFormat
public Action.InvalidDataFormat.Builder clearExpectedFormat()
The expected data format of the entity.
string expected_format = 2;
- Returns:
- This builder for chaining.
-
setExpectedFormatBytes
public Action.InvalidDataFormat.Builder setExpectedFormatBytes(com.google.protobuf.ByteString value)
The expected data format of the entity.
string expected_format = 2;
- Parameters:
value
- The bytes for expectedFormat to set.- Returns:
- This builder for chaining.
-
getNewFormat
public String getNewFormat()
The new unexpected data format within the entity.
string new_format = 3;
- Specified by:
getNewFormat
in interfaceAction.InvalidDataFormatOrBuilder
- Returns:
- The newFormat.
-
getNewFormatBytes
public com.google.protobuf.ByteString getNewFormatBytes()
The new unexpected data format within the entity.
string new_format = 3;
- Specified by:
getNewFormatBytes
in interfaceAction.InvalidDataFormatOrBuilder
- Returns:
- The bytes for newFormat.
-
setNewFormat
public Action.InvalidDataFormat.Builder setNewFormat(String value)
The new unexpected data format within the entity.
string new_format = 3;
- Parameters:
value
- The newFormat to set.- Returns:
- This builder for chaining.
-
clearNewFormat
public Action.InvalidDataFormat.Builder clearNewFormat()
The new unexpected data format within the entity.
string new_format = 3;
- Returns:
- This builder for chaining.
-
setNewFormatBytes
public Action.InvalidDataFormat.Builder setNewFormatBytes(com.google.protobuf.ByteString value)
The new unexpected data format within the entity.
string new_format = 3;
- Parameters:
value
- The bytes for newFormat to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Action.InvalidDataFormat.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.InvalidDataFormat.Builder>
-
mergeUnknownFields
public final Action.InvalidDataFormat.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Action.InvalidDataFormat.Builder>
-
-