public final class MetadataFeed extends GeneratedMessage implements MetadataFeedOrBuilder
MetadataFeed contains information related to the metadata feed.
Protobuf type google.cloud.dataplex.v1.MetadataFeed
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int CREATE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int FILTERS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int LABELS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int PUBSUB_TOPIC_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int SCOPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int UID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int UPDATE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static MetadataFeed getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static MetadataFeed.Builder newBuilder()
public static MetadataFeed.Builder newBuilder(MetadataFeed prototype)
public static MetadataFeed parseDelimitedFrom(InputStream input)
public static MetadataFeed parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MetadataFeed parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static MetadataFeed parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MetadataFeed parseFrom(ByteString data)
public static MetadataFeed parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MetadataFeed parseFrom(CodedInputStream input)
public static MetadataFeed parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MetadataFeed parseFrom(InputStream input)
public static MetadataFeed parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MetadataFeed parseFrom(ByteBuffer data)
public static MetadataFeed parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<MetadataFeed> parser()
Methods
public boolean containsLabels(String key)
Optional. User-defined labels.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
key |
String
|
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public Timestamp getCreateTime()
Output only. The time when the feed was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The createTime.
|
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the feed was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public MetadataFeed getDefaultInstanceForType()
public MetadataFeed.EndpointCase getEndpointCase()
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];
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];
public Map<String,String> getLabels()
public int getLabelsCount()
Optional. User-defined labels.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
|
public Map<String,String> getLabelsMap()
Optional. User-defined labels.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
public String getLabelsOrDefault(String key, String defaultValue)
Optional. User-defined labels.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
|
public String getLabelsOrThrow(String key)
Optional. User-defined labels.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
key |
String
|
| Returns |
| Type |
Description |
String |
|
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];
| Returns |
| Type |
Description |
String |
The name.
|
public 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];
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
public Parser<MetadataFeed> getParserForType()
Overrides
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];
| Returns |
| Type |
Description |
String |
The pubsubTopic.
|
public 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];
| Returns |
| Type |
Description |
ByteString |
The bytes for pubsubTopic.
|
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];
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];
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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) = { ... }
| Returns |
| Type |
Description |
String |
The uid.
|
public 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) = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for uid.
|
public Timestamp getUpdateTime()
Output only. The time when the feed was updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The updateTime.
|
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when the feed was updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean hasCreateTime()
Output only. The time when the feed was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the createTime field is set.
|
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];
| Returns |
| Type |
Description |
boolean |
Whether the filters field is set.
|
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];
| Returns |
| Type |
Description |
boolean |
Whether the pubsubTopic field is set.
|
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];
| Returns |
| Type |
Description |
boolean |
Whether the scope field is set.
|
public boolean hasUpdateTime()
Output only. The time when the feed was updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the updateTime field is set.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
public final boolean isInitialized()
Overrides
public MetadataFeed.Builder newBuilderForType()
protected MetadataFeed.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public MetadataFeed.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides