Class DelimitedFileTypeMetadata
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datalabelingservice.model.TextFileTypeMetadata
-
- com.oracle.bmc.datalabelingservice.model.DelimitedFileTypeMetadata
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20211001") public final class DelimitedFileTypeMetadata extends TextFileTypeMetadataMetadata of delimited files.
Note: Objects should always be created or deserialized using theDelimitedFileTypeMetadata.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theDelimitedFileTypeMetadata.Builder, which maintain a set of all explicitly set fields calledDelimitedFileTypeMetadata.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDelimitedFileTypeMetadata.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.datalabelingservice.model.TextFileTypeMetadata
TextFileTypeMetadata.FormatType
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DelimitedFileTypeMetadata.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetColumnDelimiter()A column delimiterIntegergetColumnIndex()The index of a selected column.StringgetColumnName()The name of a selected column.StringgetEscapeCharacter()An escape character.StringgetLineDelimiter()A line delimiter.inthashCode()DelimitedFileTypeMetadata.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Method Detail
-
builder
public static DelimitedFileTypeMetadata.Builder builder()
Create a new builder.
-
toBuilder
public DelimitedFileTypeMetadata.Builder toBuilder()
-
getColumnName
public String getColumnName()
The name of a selected column.- Returns:
- the value
-
getColumnIndex
public Integer getColumnIndex()
The index of a selected column.This is a zero-based index.
- Returns:
- the value
-
getColumnDelimiter
public String getColumnDelimiter()
A column delimiter- Returns:
- the value
-
getLineDelimiter
public String getLineDelimiter()
A line delimiter.- Returns:
- the value
-
getEscapeCharacter
public String getEscapeCharacter()
An escape character.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classTextFileTypeMetadata
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classTextFileTypeMetadata- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classTextFileTypeMetadata
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTextFileTypeMetadata
-
-