Package com.google.cloud.dataplex.v1
Class MetadataFeed.Filters.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MetadataFeed.Filters.Builder>
com.google.cloud.dataplex.v1.MetadataFeed.Filters.Builder
- All Implemented Interfaces:
MetadataFeed.FiltersOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- MetadataFeed.Filters
public static final class MetadataFeed.Filters.Builder
extends com.google.protobuf.GeneratedMessage.Builder<MetadataFeed.Filters.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionaddAllAspectTypes(Iterable<String> values) Optional.addAllChangeTypes(Iterable<? extends MetadataFeed.Filters.ChangeType> values) Optional.addAllChangeTypesValue(Iterable<Integer> values) Optional.addAllEntryTypes(Iterable<String> values) Optional.addAspectTypes(String value) Optional.addAspectTypesBytes(com.google.protobuf.ByteString value) Optional.Optional.addChangeTypesValue(int value) Optional.addEntryTypes(String value) Optional.addEntryTypesBytes(com.google.protobuf.ByteString value) Optional.build()clear()Optional.Optional.Optional.getAspectTypes(int index) Optional.com.google.protobuf.ByteStringgetAspectTypesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.getChangeTypes(int index) Optional.intOptional.Optional.intgetChangeTypesValue(int index) Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEntryTypes(int index) Optional.com.google.protobuf.ByteStringgetEntryTypesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(MetadataFeed.Filters other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAspectTypes(int index, String value) Optional.setChangeTypes(int index, MetadataFeed.Filters.ChangeType value) Optional.setChangeTypesValue(int index, int value) Optional.setEntryTypes(int index, String value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<MetadataFeed.Filters.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<MetadataFeed.Filters.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<MetadataFeed.Filters.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MetadataFeed.Filters.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<MetadataFeed.Filters.Builder>
-
mergeFrom
public MetadataFeed.Filters.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MetadataFeed.Filters.Builder>- Throws:
IOException
-
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:
getEntryTypesListin interfaceMetadataFeed.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:
getEntryTypesCountin interfaceMetadataFeed.FiltersOrBuilder- Returns:
- The count of entryTypes.
-
getEntryTypes
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:
getEntryTypesin interfaceMetadataFeed.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:
getEntryTypesBytesin interfaceMetadataFeed.FiltersOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the entryTypes at the given index.
-
setEntryTypes
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) = { ... }- Parameters:
index- The index to set the value at.value- The entryTypes to set.- Returns:
- This builder for chaining.
-
addEntryTypes
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) = { ... }- Parameters:
value- The entryTypes to add.- Returns:
- This builder for chaining.
-
addAllEntryTypes
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) = { ... }- Parameters:
values- The entryTypes to add.- Returns:
- This builder for chaining.
-
clearEntryTypes
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) = { ... }- Returns:
- This builder for chaining.
-
addEntryTypesBytes
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) = { ... }- Parameters:
value- The bytes of the entryTypes to add.- Returns:
- This builder for chaining.
-
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:
getAspectTypesListin interfaceMetadataFeed.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:
getAspectTypesCountin interfaceMetadataFeed.FiltersOrBuilder- Returns:
- The count of aspectTypes.
-
getAspectTypes
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:
getAspectTypesin interfaceMetadataFeed.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:
getAspectTypesBytesin interfaceMetadataFeed.FiltersOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the aspectTypes at the given index.
-
setAspectTypes
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) = { ... }- Parameters:
index- The index to set the value at.value- The aspectTypes to set.- Returns:
- This builder for chaining.
-
addAspectTypes
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) = { ... }- Parameters:
value- The aspectTypes to add.- Returns:
- This builder for chaining.
-
addAllAspectTypes
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) = { ... }- Parameters:
values- The aspectTypes to add.- Returns:
- This builder for chaining.
-
clearAspectTypes
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) = { ... }- Returns:
- This builder for chaining.
-
addAspectTypesBytes
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) = { ... }- Parameters:
value- The bytes of the aspectTypes to add.- Returns:
- This builder for chaining.
-
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:
getChangeTypesListin interfaceMetadataFeed.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:
getChangeTypesCountin interfaceMetadataFeed.FiltersOrBuilder- Returns:
- The count of changeTypes.
-
getChangeTypes
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:
getChangeTypesin interfaceMetadataFeed.FiltersOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The changeTypes at the given index.
-
setChangeTypes
public MetadataFeed.Filters.Builder setChangeTypes(int index, MetadataFeed.Filters.ChangeType value) 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];- Parameters:
index- The index to set the value at.value- The changeTypes to set.- Returns:
- This builder for chaining.
-
addChangeTypes
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];- Parameters:
value- The changeTypes to add.- Returns:
- This builder for chaining.
-
addAllChangeTypes
public MetadataFeed.Filters.Builder addAllChangeTypes(Iterable<? extends MetadataFeed.Filters.ChangeType> values) 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];- Parameters:
values- The changeTypes to add.- Returns:
- This builder for chaining.
-
clearChangeTypes
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];- Returns:
- This builder for chaining.
-
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:
getChangeTypesValueListin interfaceMetadataFeed.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:
getChangeTypesValuein interfaceMetadataFeed.FiltersOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of changeTypes at the given index.
-
setChangeTypesValue
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];- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for changeTypes to set.- Returns:
- This builder for chaining.
-
addChangeTypesValue
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];- Parameters:
value- The enum numeric value on the wire for changeTypes to add.- Returns:
- This builder for chaining.
-
addAllChangeTypesValue
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];- Parameters:
values- The enum numeric values on the wire for changeTypes to add.- Returns:
- This builder for chaining.
-