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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<DiscoveryEvent.PartitionDetails.Builder> implements DiscoveryEvent.PartitionDetailsOrBuilder
Details about the partition.
Protobuf typegoogle.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DiscoveryEvent.PartitionDetails.BuilderaddAllSampledDataLocations(Iterable<String> values)The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.DiscoveryEvent.PartitionDetails.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DiscoveryEvent.PartitionDetails.BuilderaddSampledDataLocations(String value)The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.DiscoveryEvent.PartitionDetails.BuilderaddSampledDataLocationsBytes(com.google.protobuf.ByteString value)The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.DiscoveryEvent.PartitionDetailsbuild()DiscoveryEvent.PartitionDetailsbuildPartial()DiscoveryEvent.PartitionDetails.Builderclear()DiscoveryEvent.PartitionDetails.BuilderclearEntity()The name to the containing entity resource.DiscoveryEvent.PartitionDetails.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DiscoveryEvent.PartitionDetails.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DiscoveryEvent.PartitionDetails.BuilderclearPartition()The name to the partition resource.DiscoveryEvent.PartitionDetails.BuilderclearSampledDataLocations()The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.DiscoveryEvent.PartitionDetails.BuilderclearType()The type of the containing entity resource.DiscoveryEvent.PartitionDetails.Builderclone()DiscoveryEvent.PartitionDetailsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetEntity()The name to the containing entity resource.com.google.protobuf.ByteStringgetEntityBytes()The name to the containing entity resource.StringgetPartition()The name to the partition resource.com.google.protobuf.ByteStringgetPartitionBytes()The name to the partition resource.StringgetSampledDataLocations(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.intgetSampledDataLocationsCount()The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.com.google.protobuf.ProtocolStringListgetSampledDataLocationsList()The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.DiscoveryEvent.EntityTypegetType()The type of the containing entity resource.intgetTypeValue()The type of the containing entity resource.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DiscoveryEvent.PartitionDetails.BuildermergeFrom(DiscoveryEvent.PartitionDetails other)DiscoveryEvent.PartitionDetails.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DiscoveryEvent.PartitionDetails.BuildermergeFrom(com.google.protobuf.Message other)DiscoveryEvent.PartitionDetails.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DiscoveryEvent.PartitionDetails.BuildersetEntity(String value)The name to the containing entity resource.DiscoveryEvent.PartitionDetails.BuildersetEntityBytes(com.google.protobuf.ByteString value)The name to the containing entity resource.DiscoveryEvent.PartitionDetails.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DiscoveryEvent.PartitionDetails.BuildersetPartition(String value)The name to the partition resource.DiscoveryEvent.PartitionDetails.BuildersetPartitionBytes(com.google.protobuf.ByteString value)The name to the partition resource.DiscoveryEvent.PartitionDetails.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)DiscoveryEvent.PartitionDetails.BuildersetSampledDataLocations(int index, String value)The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.DiscoveryEvent.PartitionDetails.BuildersetType(DiscoveryEvent.EntityType value)The type of the containing entity resource.DiscoveryEvent.PartitionDetails.BuildersetTypeValue(int value)The type of the containing entity resource.DiscoveryEvent.PartitionDetails.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DiscoveryEvent.PartitionDetails.Builder>
-
clear
public 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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<DiscoveryEvent.PartitionDetails.Builder>
-
getDefaultInstanceForType
public DiscoveryEvent.PartitionDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DiscoveryEvent.PartitionDetails build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DiscoveryEvent.PartitionDetails buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DiscoveryEvent.PartitionDetails.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DiscoveryEvent.PartitionDetails.Builder>
-
setField
public DiscoveryEvent.PartitionDetails.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DiscoveryEvent.PartitionDetails.Builder>
-
clearField
public DiscoveryEvent.PartitionDetails.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DiscoveryEvent.PartitionDetails.Builder>
-
clearOneof
public DiscoveryEvent.PartitionDetails.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DiscoveryEvent.PartitionDetails.Builder>
-
setRepeatedField
public DiscoveryEvent.PartitionDetails.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DiscoveryEvent.PartitionDetails.Builder>
-
addRepeatedField
public DiscoveryEvent.PartitionDetails.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DiscoveryEvent.PartitionDetails.Builder>
-
mergeFrom
public DiscoveryEvent.PartitionDetails.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DiscoveryEvent.PartitionDetails.Builder>
-
mergeFrom
public DiscoveryEvent.PartitionDetails.Builder mergeFrom(DiscoveryEvent.PartitionDetails other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public String 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
public DiscoveryEvent.PartitionDetails.Builder setPartition(String value)
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
public DiscoveryEvent.PartitionDetails.Builder 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
public String 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
public DiscoveryEvent.PartitionDetails.Builder setEntity(String value)
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
public DiscoveryEvent.PartitionDetails.Builder 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
public DiscoveryEvent.PartitionDetails.Builder setEntityBytes(com.google.protobuf.ByteString value)
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
public DiscoveryEvent.PartitionDetails.Builder setTypeValue(int value)
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
public DiscoveryEvent.EntityType 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
public DiscoveryEvent.PartitionDetails.Builder setType(DiscoveryEvent.EntityType value)
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
public DiscoveryEvent.PartitionDetails.Builder 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
public String getSampledDataLocations(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:
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
public DiscoveryEvent.PartitionDetails.Builder setSampledDataLocations(int index, String value)
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
public DiscoveryEvent.PartitionDetails.Builder addSampledDataLocations(String 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 sampledDataLocations to add.- Returns:
- This builder for chaining.
-
addAllSampledDataLocations
public DiscoveryEvent.PartitionDetails.Builder addAllSampledDataLocations(Iterable<String> values)
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
public DiscoveryEvent.PartitionDetails.Builder 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.
-
setUnknownFields
public final DiscoveryEvent.PartitionDetails.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DiscoveryEvent.PartitionDetails.Builder>
-
mergeUnknownFields
public final DiscoveryEvent.PartitionDetails.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DiscoveryEvent.PartitionDetails.Builder>
-
-