Class Action.InvalidDataFormat.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Action.InvalidDataFormat.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Action.InvalidDataFormat.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Action.InvalidDataFormat.Builder>
    • getDefaultInstanceForType

      public Action.InvalidDataFormat getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Action.InvalidDataFormat build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Action.InvalidDataFormat buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Action.InvalidDataFormat.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Action.InvalidDataFormat.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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 interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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 interface Action.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 interface Action.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 interface Action.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 interface Action.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 interface Action.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 interface Action.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 interface Action.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 interface Action.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.