Package com.google.cloud.dataplex.v1
Class DiscoveryEvent.PartitionDetails.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DiscoveryEvent.PartitionDetails.Builder>
com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails.Builder
- All Implemented Interfaces:
DiscoveryEvent.PartitionDetailsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DiscoveryEvent.PartitionDetails
public static final class DiscoveryEvent.PartitionDetails.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DiscoveryEvent.PartitionDetails.Builder>
implements DiscoveryEvent.PartitionDetailsOrBuilder
Details about the partition.Protobuf type
google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails-
Method Summary
Modifier and TypeMethodDescriptionaddAllSampledDataLocations(Iterable<String> values) The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.addSampledDataLocations(String value) The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.addSampledDataLocationsBytes(com.google.protobuf.ByteString value) The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.build()clear()The name to the containing entity resource.The name to the partition resource.The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.The type of the containing entity resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe name to the containing entity resource.com.google.protobuf.ByteStringThe name to the containing entity resource.The name to the partition resource.com.google.protobuf.ByteStringThe name to the partition resource.getSampledDataLocations(int index) The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.com.google.protobuf.ByteStringgetSampledDataLocationsBytes(int index) The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.intThe locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.com.google.protobuf.ProtocolStringListThe locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.getType()The type of the containing entity resource.intThe type of the containing entity resource.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The name to the containing entity resource.setEntityBytes(com.google.protobuf.ByteString value) The name to the containing entity resource.setPartition(String value) The name to the partition resource.setPartitionBytes(com.google.protobuf.ByteString value) The name to the partition resource.setSampledDataLocations(int index, String value) The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.setType(DiscoveryEvent.EntityType value) The type of the containing entity resource.setTypeValue(int value) The type of the containing entity resource.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<DiscoveryEvent.PartitionDetails.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<DiscoveryEvent.PartitionDetails.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<DiscoveryEvent.PartitionDetails.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<DiscoveryEvent.PartitionDetails.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DiscoveryEvent.PartitionDetails.Builder>
-
mergeFrom
public DiscoveryEvent.PartitionDetails.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<DiscoveryEvent.PartitionDetails.Builder>- Throws:
IOException
-
getPartition
The name to the partition resource. The name is the fully-qualified resource name.
string partition = 1;- Specified by:
getPartitionin interfaceDiscoveryEvent.PartitionDetailsOrBuilder- Returns:
- The partition.
-
getPartitionBytes
public com.google.protobuf.ByteString getPartitionBytes()The name to the partition resource. The name is the fully-qualified resource name.
string partition = 1;- Specified by:
getPartitionBytesin interfaceDiscoveryEvent.PartitionDetailsOrBuilder- Returns:
- The bytes for partition.
-
setPartition
The name to the partition resource. The name is the fully-qualified resource name.
string partition = 1;- Parameters:
value- The partition to set.- Returns:
- This builder for chaining.
-
clearPartition
The name to the partition resource. The name is the fully-qualified resource name.
string partition = 1;- Returns:
- This builder for chaining.
-
setPartitionBytes
public DiscoveryEvent.PartitionDetails.Builder setPartitionBytes(com.google.protobuf.ByteString value) The name to the partition resource. The name is the fully-qualified resource name.
string partition = 1;- Parameters:
value- The bytes for partition to set.- Returns:
- This builder for chaining.
-
getEntity
The name to the containing entity resource. The name is the fully-qualified resource name.
string entity = 2;- Specified by:
getEntityin interfaceDiscoveryEvent.PartitionDetailsOrBuilder- Returns:
- The entity.
-
getEntityBytes
public com.google.protobuf.ByteString getEntityBytes()The name to the containing entity resource. The name is the fully-qualified resource name.
string entity = 2;- Specified by:
getEntityBytesin interfaceDiscoveryEvent.PartitionDetailsOrBuilder- Returns:
- The bytes for entity.
-
setEntity
The name to the containing entity resource. The name is the fully-qualified resource name.
string entity = 2;- Parameters:
value- The entity to set.- Returns:
- This builder for chaining.
-
clearEntity
The name to the containing entity resource. The name is the fully-qualified resource name.
string entity = 2;- Returns:
- This builder for chaining.
-
setEntityBytes
The name to the containing entity resource. The name is the fully-qualified resource name.
string entity = 2;- Parameters:
value- The bytes for entity to set.- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()The type of the containing entity resource.
.google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3;- Specified by:
getTypeValuein interfaceDiscoveryEvent.PartitionDetailsOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
The type of the containing entity resource.
.google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3;- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
The type of the containing entity resource.
.google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3;- Specified by:
getTypein interfaceDiscoveryEvent.PartitionDetailsOrBuilder- Returns:
- The type.
-
setType
The type of the containing entity resource.
.google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
The type of the containing entity resource.
.google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3;- Returns:
- This builder for chaining.
-
getSampledDataLocationsList
public com.google.protobuf.ProtocolStringList getSampledDataLocationsList()The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.
repeated string sampled_data_locations = 4;- Specified by:
getSampledDataLocationsListin interfaceDiscoveryEvent.PartitionDetailsOrBuilder- Returns:
- A list containing the sampledDataLocations.
-
getSampledDataLocationsCount
public int getSampledDataLocationsCount()The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.
repeated string sampled_data_locations = 4;- Specified by:
getSampledDataLocationsCountin interfaceDiscoveryEvent.PartitionDetailsOrBuilder- Returns:
- The count of sampledDataLocations.
-
getSampledDataLocations
The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.
repeated string sampled_data_locations = 4;- Specified by:
getSampledDataLocationsin interfaceDiscoveryEvent.PartitionDetailsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The sampledDataLocations at the given index.
-
getSampledDataLocationsBytes
public com.google.protobuf.ByteString getSampledDataLocationsBytes(int index) The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.
repeated string sampled_data_locations = 4;- Specified by:
getSampledDataLocationsBytesin interfaceDiscoveryEvent.PartitionDetailsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sampledDataLocations at the given index.
-
setSampledDataLocations
The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.
repeated string sampled_data_locations = 4;- Parameters:
index- The index to set the value at.value- The sampledDataLocations to set.- Returns:
- This builder for chaining.
-
addSampledDataLocations
The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.
repeated string sampled_data_locations = 4;- Parameters:
value- The sampledDataLocations to add.- Returns:
- This builder for chaining.
-
addAllSampledDataLocations
The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.
repeated string sampled_data_locations = 4;- Parameters:
values- The sampledDataLocations to add.- Returns:
- This builder for chaining.
-
clearSampledDataLocations
The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.
repeated string sampled_data_locations = 4;- Returns:
- This builder for chaining.
-
addSampledDataLocationsBytes
public DiscoveryEvent.PartitionDetails.Builder addSampledDataLocationsBytes(com.google.protobuf.ByteString value) The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.
repeated string sampled_data_locations = 4;- Parameters:
value- The bytes of the sampledDataLocations to add.- Returns:
- This builder for chaining.
-