Class FilterTableColumns

  • All Implemented Interfaces:
    FilterTableColumnsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class FilterTableColumns
    extends com.google.protobuf.GeneratedMessageV3
    implements FilterTableColumnsOrBuilder
     Options to configure rule type FilterTableColumns.
     The rule is used to filter the list of columns to include or exclude from a
     table.
    
     The rule filter field can refer to one entity.
    
     The rule scope can be: Table
    
     Only one of the two lists can be specified for the rule.
     
    Protobuf type google.cloud.clouddms.v1.FilterTableColumns
    See Also:
    Serialized Form
    • Field Detail

      • INCLUDE_COLUMNS_FIELD_NUMBER

        public static final int INCLUDE_COLUMNS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • EXCLUDE_COLUMNS_FIELD_NUMBER

        public static final int EXCLUDE_COLUMNS_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • getIncludeColumnsList

        public com.google.protobuf.ProtocolStringList getIncludeColumnsList()
         Optional. List of columns to be included for a particular table.
         
        repeated string include_columns = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getIncludeColumnsList in interface FilterTableColumnsOrBuilder
        Returns:
        A list containing the includeColumns.
      • getIncludeColumnsCount

        public int getIncludeColumnsCount()
         Optional. List of columns to be included for a particular table.
         
        repeated string include_columns = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getIncludeColumnsCount in interface FilterTableColumnsOrBuilder
        Returns:
        The count of includeColumns.
      • getIncludeColumns

        public String getIncludeColumns​(int index)
         Optional. List of columns to be included for a particular table.
         
        repeated string include_columns = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getIncludeColumns in interface FilterTableColumnsOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The includeColumns at the given index.
      • getIncludeColumnsBytes

        public com.google.protobuf.ByteString getIncludeColumnsBytes​(int index)
         Optional. List of columns to be included for a particular table.
         
        repeated string include_columns = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getIncludeColumnsBytes in interface FilterTableColumnsOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the includeColumns at the given index.
      • getExcludeColumnsList

        public com.google.protobuf.ProtocolStringList getExcludeColumnsList()
         Optional. List of columns to be excluded for a particular table.
         
        repeated string exclude_columns = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getExcludeColumnsList in interface FilterTableColumnsOrBuilder
        Returns:
        A list containing the excludeColumns.
      • getExcludeColumnsCount

        public int getExcludeColumnsCount()
         Optional. List of columns to be excluded for a particular table.
         
        repeated string exclude_columns = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getExcludeColumnsCount in interface FilterTableColumnsOrBuilder
        Returns:
        The count of excludeColumns.
      • getExcludeColumns

        public String getExcludeColumns​(int index)
         Optional. List of columns to be excluded for a particular table.
         
        repeated string exclude_columns = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getExcludeColumns in interface FilterTableColumnsOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The excludeColumns at the given index.
      • getExcludeColumnsBytes

        public com.google.protobuf.ByteString getExcludeColumnsBytes​(int index)
         Optional. List of columns to be excluded for a particular table.
         
        repeated string exclude_columns = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getExcludeColumnsBytes in interface FilterTableColumnsOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the excludeColumns at the given index.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static FilterTableColumns parseFrom​(ByteBuffer data)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static FilterTableColumns parseFrom​(ByteBuffer data,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static FilterTableColumns parseFrom​(com.google.protobuf.ByteString data)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static FilterTableColumns parseFrom​(com.google.protobuf.ByteString data,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static FilterTableColumns parseFrom​(byte[] data)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static FilterTableColumns parseFrom​(byte[] data,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static FilterTableColumns parseFrom​(com.google.protobuf.CodedInputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws IOException
        Throws:
        IOException
      • newBuilderForType

        public FilterTableColumns.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public FilterTableColumns.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected FilterTableColumns.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<FilterTableColumns> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public FilterTableColumns getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder