Interface DatasetInputConfig.InputFileOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DatasetInputConfig.InputFile, DatasetInputConfig.InputFile.Builder
Enclosing class:
DatasetInputConfig

public static interface DatasetInputConfig.InputFileOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Google Cloud Storage file source.
    Google Cloud Storage file source.
     
    Optional.
    com.google.protobuf.ByteString
    Optional.
    boolean
    Google Cloud Storage file source.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getUsage

      String getUsage()
       Optional. Usage of the file contents. Options are TRAIN|VALIDATION|TEST,
       or UNASSIGNED (by default) for auto split.
       
      string usage = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The usage.
    • getUsageBytes

      com.google.protobuf.ByteString getUsageBytes()
       Optional. Usage of the file contents. Options are TRAIN|VALIDATION|TEST,
       or UNASSIGNED (by default) for auto split.
       
      string usage = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for usage.
    • hasGcsSource

      boolean hasGcsSource()
       Google Cloud Storage file source.
       
      .google.cloud.translation.v3.GcsInputSource gcs_source = 3;
      Returns:
      Whether the gcsSource field is set.
    • getGcsSource

      GcsInputSource getGcsSource()
       Google Cloud Storage file source.
       
      .google.cloud.translation.v3.GcsInputSource gcs_source = 3;
      Returns:
      The gcsSource.
    • getGcsSourceOrBuilder

      GcsInputSourceOrBuilder getGcsSourceOrBuilder()
       Google Cloud Storage file source.
       
      .google.cloud.translation.v3.GcsInputSource gcs_source = 3;
    • getSourceCase