Class MetadataFeed

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

@Generated public final class MetadataFeed extends com.google.protobuf.GeneratedMessage implements MetadataFeedOrBuilder
 MetadataFeed contains information related to the metadata feed.
 
Protobuf type google.cloud.dataplex.v1.MetadataFeed
See Also:
  • Field Details

  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getEndpointCase

      public MetadataFeed.EndpointCase getEndpointCase()
      Specified by:
      getEndpointCase in interface MetadataFeedOrBuilder
    • getName

      public String getName()
       Identifier. The resource name of the metadata feed, in the format
       `projects/{project_id_or_number}/locations/{location_id}/metadataFeeds/{metadata_feed_id}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface MetadataFeedOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The resource name of the metadata feed, in the format
       `projects/{project_id_or_number}/locations/{location_id}/metadataFeeds/{metadata_feed_id}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface MetadataFeedOrBuilder
      Returns:
      The bytes for name.
    • getUid

      public String getUid()
       Output only. A system-generated, globally unique ID for the metadata job.
       If the metadata job is deleted and then re-created with the same name, this
       ID is different.
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Specified by:
      getUid in interface MetadataFeedOrBuilder
      Returns:
      The uid.
    • getUidBytes

      public com.google.protobuf.ByteString getUidBytes()
       Output only. A system-generated, globally unique ID for the metadata job.
       If the metadata job is deleted and then re-created with the same name, this
       ID is different.
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
      Specified by:
      getUidBytes in interface MetadataFeedOrBuilder
      Returns:
      The bytes for uid.
    • hasScope

      public boolean hasScope()
       Required. The scope of the metadata feed.
       Only the in scope changes are published.
       
      .google.cloud.dataplex.v1.MetadataFeed.Scope scope = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasScope in interface MetadataFeedOrBuilder
      Returns:
      Whether the scope field is set.
    • getScope

      public MetadataFeed.Scope getScope()
       Required. The scope of the metadata feed.
       Only the in scope changes are published.
       
      .google.cloud.dataplex.v1.MetadataFeed.Scope scope = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getScope in interface MetadataFeedOrBuilder
      Returns:
      The scope.
    • getScopeOrBuilder

      public MetadataFeed.ScopeOrBuilder getScopeOrBuilder()
       Required. The scope of the metadata feed.
       Only the in scope changes are published.
       
      .google.cloud.dataplex.v1.MetadataFeed.Scope scope = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getScopeOrBuilder in interface MetadataFeedOrBuilder
    • hasFilters

      public boolean hasFilters()
       Optional. The filters of the metadata feed.
       Only the changes that match the filters are published.
       
      .google.cloud.dataplex.v1.MetadataFeed.Filters filters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasFilters in interface MetadataFeedOrBuilder
      Returns:
      Whether the filters field is set.
    • getFilters

      public MetadataFeed.Filters getFilters()
       Optional. The filters of the metadata feed.
       Only the changes that match the filters are published.
       
      .google.cloud.dataplex.v1.MetadataFeed.Filters filters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilters in interface MetadataFeedOrBuilder
      Returns:
      The filters.
    • getFiltersOrBuilder

      public MetadataFeed.FiltersOrBuilder getFiltersOrBuilder()
       Optional. The filters of the metadata feed.
       Only the changes that match the filters are published.
       
      .google.cloud.dataplex.v1.MetadataFeed.Filters filters = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFiltersOrBuilder in interface MetadataFeedOrBuilder
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The time when the feed was created.
       
      .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface MetadataFeedOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The time when the feed was created.
       
      .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface MetadataFeedOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time when the feed was created.
       
      .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface MetadataFeedOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The time when the feed was updated.
       
      .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface MetadataFeedOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The time when the feed was updated.
       
      .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface MetadataFeedOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time when the feed was updated.
       
      .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface MetadataFeedOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: MetadataFeedOrBuilder
       Optional. User-defined labels.
       
      map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface MetadataFeedOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. User-defined labels.
       
      map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface MetadataFeedOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface MetadataFeedOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. User-defined labels.
       
      map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface MetadataFeedOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. User-defined labels.
       
      map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface MetadataFeedOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. User-defined labels.
       
      map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface MetadataFeedOrBuilder
    • hasPubsubTopic

      public boolean hasPubsubTopic()
       Optional. The pubsub topic that you want the metadata feed messages to
       publish to. Please grant Dataplex service account the permission to
       publish messages to the topic. The service account is:
       service-{PROJECT_NUMBER}@gcp-sa-dataplex.iam.gserviceaccount.com.
       
      string pubsub_topic = 100 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasPubsubTopic in interface MetadataFeedOrBuilder
      Returns:
      Whether the pubsubTopic field is set.
    • getPubsubTopic

      public String getPubsubTopic()
       Optional. The pubsub topic that you want the metadata feed messages to
       publish to. Please grant Dataplex service account the permission to
       publish messages to the topic. The service account is:
       service-{PROJECT_NUMBER}@gcp-sa-dataplex.iam.gserviceaccount.com.
       
      string pubsub_topic = 100 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPubsubTopic in interface MetadataFeedOrBuilder
      Returns:
      The pubsubTopic.
    • getPubsubTopicBytes

      public com.google.protobuf.ByteString getPubsubTopicBytes()
       Optional. The pubsub topic that you want the metadata feed messages to
       publish to. Please grant Dataplex service account the permission to
       publish messages to the topic. The service account is:
       service-{PROJECT_NUMBER}@gcp-sa-dataplex.iam.gserviceaccount.com.
       
      string pubsub_topic = 100 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPubsubTopicBytes in interface MetadataFeedOrBuilder
      Returns:
      The bytes for pubsubTopic.
    • 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 parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static MetadataFeed 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 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

      public static MetadataFeed.Builder newBuilder()
    • newBuilder

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

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

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

      public static MetadataFeed getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<MetadataFeed> 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 getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder