Class MetadataFeed.Filters

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dataplex.v1.MetadataFeed.Filters
All Implemented Interfaces:
MetadataFeed.FiltersOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
MetadataFeed

public static final class MetadataFeed.Filters extends com.google.protobuf.GeneratedMessage implements MetadataFeed.FiltersOrBuilder
 Filters defines the type of changes that you want to listen to.
 You can have multiple entry type filters and multiple aspect type filters.
 All of the entry type filters are OR'ed together.
 All of the aspect type filters are OR'ed together.
 All of the entry type filters and aspect type filters are AND'ed together.
 
Protobuf type google.cloud.dataplex.v1.MetadataFeed.Filters
See Also:
  • Field Details

    • ENTRY_TYPES_FIELD_NUMBER

      public static final int ENTRY_TYPES_FIELD_NUMBER
      See Also:
    • ASPECT_TYPES_FIELD_NUMBER

      public static final int ASPECT_TYPES_FIELD_NUMBER
      See Also:
    • CHANGE_TYPES_FIELD_NUMBER

      public static final int CHANGE_TYPES_FIELD_NUMBER
      See Also:
  • 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
    • getEntryTypesList

      public com.google.protobuf.ProtocolStringList getEntryTypesList()
       Optional. The entry types that you want to listen to, specified as
       relative resource names in the format
       `projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}`.
       Only entries that belong to the specified entry types are published.
       
      repeated string entry_types = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getEntryTypesList in interface MetadataFeed.FiltersOrBuilder
      Returns:
      A list containing the entryTypes.
    • getEntryTypesCount

      public int getEntryTypesCount()
       Optional. The entry types that you want to listen to, specified as
       relative resource names in the format
       `projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}`.
       Only entries that belong to the specified entry types are published.
       
      repeated string entry_types = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getEntryTypesCount in interface MetadataFeed.FiltersOrBuilder
      Returns:
      The count of entryTypes.
    • getEntryTypes

      public String getEntryTypes(int index)
       Optional. The entry types that you want to listen to, specified as
       relative resource names in the format
       `projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}`.
       Only entries that belong to the specified entry types are published.
       
      repeated string entry_types = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getEntryTypes in interface MetadataFeed.FiltersOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The entryTypes at the given index.
    • getEntryTypesBytes

      public com.google.protobuf.ByteString getEntryTypesBytes(int index)
       Optional. The entry types that you want to listen to, specified as
       relative resource names in the format
       `projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}`.
       Only entries that belong to the specified entry types are published.
       
      repeated string entry_types = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getEntryTypesBytes in interface MetadataFeed.FiltersOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the entryTypes at the given index.
    • getAspectTypesList

      public com.google.protobuf.ProtocolStringList getAspectTypesList()
       Optional. The aspect types that you want to listen to. Depending on how
       the aspect is attached to the entry, in the format:
       `projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}`.
       
      repeated string aspect_types = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getAspectTypesList in interface MetadataFeed.FiltersOrBuilder
      Returns:
      A list containing the aspectTypes.
    • getAspectTypesCount

      public int getAspectTypesCount()
       Optional. The aspect types that you want to listen to. Depending on how
       the aspect is attached to the entry, in the format:
       `projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}`.
       
      repeated string aspect_types = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getAspectTypesCount in interface MetadataFeed.FiltersOrBuilder
      Returns:
      The count of aspectTypes.
    • getAspectTypes

      public String getAspectTypes(int index)
       Optional. The aspect types that you want to listen to. Depending on how
       the aspect is attached to the entry, in the format:
       `projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}`.
       
      repeated string aspect_types = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getAspectTypes in interface MetadataFeed.FiltersOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The aspectTypes at the given index.
    • getAspectTypesBytes

      public com.google.protobuf.ByteString getAspectTypesBytes(int index)
       Optional. The aspect types that you want to listen to. Depending on how
       the aspect is attached to the entry, in the format:
       `projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}`.
       
      repeated string aspect_types = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getAspectTypesBytes in interface MetadataFeed.FiltersOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the aspectTypes at the given index.
    • getChangeTypesList

      public List<MetadataFeed.Filters.ChangeType> getChangeTypesList()
       Optional. The type of change that you want to listen to.
       If not specified, all changes are published.
       
      repeated .google.cloud.dataplex.v1.MetadataFeed.Filters.ChangeType change_types = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getChangeTypesList in interface MetadataFeed.FiltersOrBuilder
      Returns:
      A list containing the changeTypes.
    • getChangeTypesCount

      public int getChangeTypesCount()
       Optional. The type of change that you want to listen to.
       If not specified, all changes are published.
       
      repeated .google.cloud.dataplex.v1.MetadataFeed.Filters.ChangeType change_types = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getChangeTypesCount in interface MetadataFeed.FiltersOrBuilder
      Returns:
      The count of changeTypes.
    • getChangeTypes

      public MetadataFeed.Filters.ChangeType getChangeTypes(int index)
       Optional. The type of change that you want to listen to.
       If not specified, all changes are published.
       
      repeated .google.cloud.dataplex.v1.MetadataFeed.Filters.ChangeType change_types = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getChangeTypes in interface MetadataFeed.FiltersOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The changeTypes at the given index.
    • getChangeTypesValueList

      public List<Integer> getChangeTypesValueList()
       Optional. The type of change that you want to listen to.
       If not specified, all changes are published.
       
      repeated .google.cloud.dataplex.v1.MetadataFeed.Filters.ChangeType change_types = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getChangeTypesValueList in interface MetadataFeed.FiltersOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for changeTypes.
    • getChangeTypesValue

      public int getChangeTypesValue(int index)
       Optional. The type of change that you want to listen to.
       If not specified, all changes are published.
       
      repeated .google.cloud.dataplex.v1.MetadataFeed.Filters.ChangeType change_types = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getChangeTypesValue in interface MetadataFeed.FiltersOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of changeTypes 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.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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 MetadataFeed.Filters parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static MetadataFeed.Filters parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MetadataFeed.Filters parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static MetadataFeed.Filters parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static MetadataFeed.Filters parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MetadataFeed.Filters parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public MetadataFeed.Filters.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static MetadataFeed.Filters.Builder newBuilder()
    • newBuilder

      public static MetadataFeed.Filters.Builder newBuilder(MetadataFeed.Filters prototype)
    • toBuilder

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

      protected MetadataFeed.Filters.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static MetadataFeed.Filters getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<MetadataFeed.Filters> parser()
    • getParserForType

      public com.google.protobuf.Parser<MetadataFeed.Filters> 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.GeneratedMessage
    • getDefaultInstanceForType

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