Package com.google.cloud.dataplex.v1
Class DiscoveryEvent.PartitionDetails
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails
-
- All Implemented Interfaces:
DiscoveryEvent.PartitionDetailsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- DiscoveryEvent
public static final class DiscoveryEvent.PartitionDetails extends com.google.protobuf.GeneratedMessageV3 implements DiscoveryEvent.PartitionDetailsOrBuilder
Details about the partition.
Protobuf typegoogle.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDiscoveryEvent.PartitionDetails.BuilderDetails about the partition.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intENTITY_FIELD_NUMBERstatic intPARTITION_FIELD_NUMBERstatic intSAMPLED_DATA_LOCATIONS_FIELD_NUMBERstatic intTYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static DiscoveryEvent.PartitionDetailsgetDefaultInstance()DiscoveryEvent.PartitionDetailsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetEntity()The name to the containing entity resource.com.google.protobuf.ByteStringgetEntityBytes()The name to the containing entity resource.com.google.protobuf.Parser<DiscoveryEvent.PartitionDetails>getParserForType()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.intgetSerializedSize()DiscoveryEvent.EntityTypegetType()The type of the containing entity resource.intgetTypeValue()The type of the containing entity resource.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DiscoveryEvent.PartitionDetails.BuildernewBuilder()static DiscoveryEvent.PartitionDetails.BuildernewBuilder(DiscoveryEvent.PartitionDetails prototype)DiscoveryEvent.PartitionDetails.BuildernewBuilderForType()protected DiscoveryEvent.PartitionDetails.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DiscoveryEvent.PartitionDetailsparseDelimitedFrom(InputStream input)static DiscoveryEvent.PartitionDetailsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DiscoveryEvent.PartitionDetailsparseFrom(byte[] data)static DiscoveryEvent.PartitionDetailsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DiscoveryEvent.PartitionDetailsparseFrom(com.google.protobuf.ByteString data)static DiscoveryEvent.PartitionDetailsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DiscoveryEvent.PartitionDetailsparseFrom(com.google.protobuf.CodedInputStream input)static DiscoveryEvent.PartitionDetailsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DiscoveryEvent.PartitionDetailsparseFrom(InputStream input)static DiscoveryEvent.PartitionDetailsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DiscoveryEvent.PartitionDetailsparseFrom(ByteBuffer data)static DiscoveryEvent.PartitionDetailsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DiscoveryEvent.PartitionDetails>parser()DiscoveryEvent.PartitionDetails.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PARTITION_FIELD_NUMBER
public static final int PARTITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENTITY_FIELD_NUMBER
public static final int ENTITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SAMPLED_DATA_LOCATIONS_FIELD_NUMBER
public static final int SAMPLED_DATA_LOCATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DiscoveryEvent.PartitionDetails parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryEvent.PartitionDetails parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryEvent.PartitionDetails parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryEvent.PartitionDetails parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryEvent.PartitionDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryEvent.PartitionDetails parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DiscoveryEvent.PartitionDetails parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DiscoveryEvent.PartitionDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DiscoveryEvent.PartitionDetails parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DiscoveryEvent.PartitionDetails parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static DiscoveryEvent.PartitionDetails parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DiscoveryEvent.PartitionDetails parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public DiscoveryEvent.PartitionDetails.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DiscoveryEvent.PartitionDetails.Builder newBuilder()
-
newBuilder
public static DiscoveryEvent.PartitionDetails.Builder newBuilder(DiscoveryEvent.PartitionDetails prototype)
-
toBuilder
public DiscoveryEvent.PartitionDetails.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DiscoveryEvent.PartitionDetails.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DiscoveryEvent.PartitionDetails getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DiscoveryEvent.PartitionDetails> parser()
-
getParserForType
public com.google.protobuf.Parser<DiscoveryEvent.PartitionDetails> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DiscoveryEvent.PartitionDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-