Class Action.IncompatibleDataSchema.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Action.IncompatibleDataSchema.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.GeneratedMessageV3.Builder<Action.IncompatibleDataSchema.Builder>
      • getDefaultInstanceForType

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Action.IncompatibleDataSchema.Builder>
      • mergeFrom

        public Action.IncompatibleDataSchema.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.IncompatibleDataSchema.Builder>
        Throws:
        IOException
      • setTable

        public Action.IncompatibleDataSchema.Builder setTable​(String value)
         The name of the table containing invalid data.
         
        string table = 1;
        Parameters:
        value - The table to set.
        Returns:
        This builder for chaining.
      • setTableBytes

        public Action.IncompatibleDataSchema.Builder setTableBytes​(com.google.protobuf.ByteString value)
         The name of the table containing invalid data.
         
        string table = 1;
        Parameters:
        value - The bytes for table to set.
        Returns:
        This builder for chaining.
      • getExistingSchema

        public String getExistingSchema()
         The existing and expected schema of the table. The schema is provided as
         a JSON formatted structure listing columns and data types.
         
        string existing_schema = 2;
        Specified by:
        getExistingSchema in interface Action.IncompatibleDataSchemaOrBuilder
        Returns:
        The existingSchema.
      • getExistingSchemaBytes

        public com.google.protobuf.ByteString getExistingSchemaBytes()
         The existing and expected schema of the table. The schema is provided as
         a JSON formatted structure listing columns and data types.
         
        string existing_schema = 2;
        Specified by:
        getExistingSchemaBytes in interface Action.IncompatibleDataSchemaOrBuilder
        Returns:
        The bytes for existingSchema.
      • setExistingSchema

        public Action.IncompatibleDataSchema.Builder setExistingSchema​(String value)
         The existing and expected schema of the table. The schema is provided as
         a JSON formatted structure listing columns and data types.
         
        string existing_schema = 2;
        Parameters:
        value - The existingSchema to set.
        Returns:
        This builder for chaining.
      • clearExistingSchema

        public Action.IncompatibleDataSchema.Builder clearExistingSchema()
         The existing and expected schema of the table. The schema is provided as
         a JSON formatted structure listing columns and data types.
         
        string existing_schema = 2;
        Returns:
        This builder for chaining.
      • setExistingSchemaBytes

        public Action.IncompatibleDataSchema.Builder setExistingSchemaBytes​(com.google.protobuf.ByteString value)
         The existing and expected schema of the table. The schema is provided as
         a JSON formatted structure listing columns and data types.
         
        string existing_schema = 2;
        Parameters:
        value - The bytes for existingSchema to set.
        Returns:
        This builder for chaining.
      • getNewSchema

        public String getNewSchema()
         The new and incompatible schema within the table. The schema is provided
         as a JSON formatted structured listing columns and data types.
         
        string new_schema = 3;
        Specified by:
        getNewSchema in interface Action.IncompatibleDataSchemaOrBuilder
        Returns:
        The newSchema.
      • getNewSchemaBytes

        public com.google.protobuf.ByteString getNewSchemaBytes()
         The new and incompatible schema within the table. The schema is provided
         as a JSON formatted structured listing columns and data types.
         
        string new_schema = 3;
        Specified by:
        getNewSchemaBytes in interface Action.IncompatibleDataSchemaOrBuilder
        Returns:
        The bytes for newSchema.
      • setNewSchema

        public Action.IncompatibleDataSchema.Builder setNewSchema​(String value)
         The new and incompatible schema within the table. The schema is provided
         as a JSON formatted structured listing columns and data types.
         
        string new_schema = 3;
        Parameters:
        value - The newSchema to set.
        Returns:
        This builder for chaining.
      • clearNewSchema

        public Action.IncompatibleDataSchema.Builder clearNewSchema()
         The new and incompatible schema within the table. The schema is provided
         as a JSON formatted structured listing columns and data types.
         
        string new_schema = 3;
        Returns:
        This builder for chaining.
      • setNewSchemaBytes

        public Action.IncompatibleDataSchema.Builder setNewSchemaBytes​(com.google.protobuf.ByteString value)
         The new and incompatible schema within the table. The schema is provided
         as a JSON formatted structured listing columns and data types.
         
        string new_schema = 3;
        Parameters:
        value - The bytes for newSchema to set.
        Returns:
        This builder for chaining.
      • getSampledDataLocationsList

        public com.google.protobuf.ProtocolStringList getSampledDataLocationsList()
         The list of data locations sampled and used for format/schema
         inference.
         
        repeated string sampled_data_locations = 4;
        Specified by:
        getSampledDataLocationsList in interface Action.IncompatibleDataSchemaOrBuilder
        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 = 4;
        Specified by:
        getSampledDataLocationsCount in interface Action.IncompatibleDataSchemaOrBuilder
        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 = 4;
        Specified by:
        getSampledDataLocations in interface Action.IncompatibleDataSchemaOrBuilder
        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 = 4;
        Specified by:
        getSampledDataLocationsBytes in interface Action.IncompatibleDataSchemaOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the sampledDataLocations at the given index.
      • setSampledDataLocations

        public Action.IncompatibleDataSchema.Builder setSampledDataLocations​(int index,
                                                                             String value)
         The list of data locations sampled and used for format/schema
         inference.
         
        repeated string sampled_data_locations = 4;
        Parameters:
        index - The index to set the value at.
        value - The sampledDataLocations to set.
        Returns:
        This builder for chaining.
      • addSampledDataLocations

        public Action.IncompatibleDataSchema.Builder addSampledDataLocations​(String value)
         The list of data locations sampled and used for format/schema
         inference.
         
        repeated string sampled_data_locations = 4;
        Parameters:
        value - The sampledDataLocations to add.
        Returns:
        This builder for chaining.
      • addAllSampledDataLocations

        public Action.IncompatibleDataSchema.Builder addAllSampledDataLocations​(Iterable<String> values)
         The list of data locations sampled and used for format/schema
         inference.
         
        repeated string sampled_data_locations = 4;
        Parameters:
        values - The sampledDataLocations to add.
        Returns:
        This builder for chaining.
      • clearSampledDataLocations

        public Action.IncompatibleDataSchema.Builder clearSampledDataLocations()
         The list of data locations sampled and used for format/schema
         inference.
         
        repeated string sampled_data_locations = 4;
        Returns:
        This builder for chaining.
      • addSampledDataLocationsBytes

        public Action.IncompatibleDataSchema.Builder addSampledDataLocationsBytes​(com.google.protobuf.ByteString value)
         The list of data locations sampled and used for format/schema
         inference.
         
        repeated string sampled_data_locations = 4;
        Parameters:
        value - The bytes of the sampledDataLocations to add.
        Returns:
        This builder for chaining.
      • getSchemaChangeValue

        public int getSchemaChangeValue()
         Whether the action relates to a schema that is incompatible or modified.
         
        .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5;
        Specified by:
        getSchemaChangeValue in interface Action.IncompatibleDataSchemaOrBuilder
        Returns:
        The enum numeric value on the wire for schemaChange.
      • setSchemaChangeValue

        public Action.IncompatibleDataSchema.Builder setSchemaChangeValue​(int value)
         Whether the action relates to a schema that is incompatible or modified.
         
        .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5;
        Parameters:
        value - The enum numeric value on the wire for schemaChange to set.
        Returns:
        This builder for chaining.
      • clearSchemaChange

        public Action.IncompatibleDataSchema.Builder clearSchemaChange()
         Whether the action relates to a schema that is incompatible or modified.
         
        .google.cloud.dataplex.v1.Action.IncompatibleDataSchema.SchemaChange schema_change = 5;
        Returns:
        This builder for chaining.