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 class
DiscoveryEvent.PartitionDetails.Builder
Details 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 int
ENTITY_FIELD_NUMBER
static int
PARTITION_FIELD_NUMBER
static int
SAMPLED_DATA_LOCATIONS_FIELD_NUMBER
static int
TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static DiscoveryEvent.PartitionDetails
getDefaultInstance()
DiscoveryEvent.PartitionDetails
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getEntity()
The name to the containing entity resource.com.google.protobuf.ByteString
getEntityBytes()
The name to the containing entity resource.com.google.protobuf.Parser<DiscoveryEvent.PartitionDetails>
getParserForType()
String
getPartition()
The name to the partition resource.com.google.protobuf.ByteString
getPartitionBytes()
The name to the partition resource.String
getSampledDataLocations(int index)
The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.com.google.protobuf.ByteString
getSampledDataLocationsBytes(int index)
The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.int
getSampledDataLocationsCount()
The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.com.google.protobuf.ProtocolStringList
getSampledDataLocationsList()
The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.int
getSerializedSize()
DiscoveryEvent.EntityType
getType()
The type of the containing entity resource.int
getTypeValue()
The type of the containing entity resource.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static DiscoveryEvent.PartitionDetails.Builder
newBuilder()
static DiscoveryEvent.PartitionDetails.Builder
newBuilder(DiscoveryEvent.PartitionDetails prototype)
DiscoveryEvent.PartitionDetails.Builder
newBuilderForType()
protected DiscoveryEvent.PartitionDetails.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static DiscoveryEvent.PartitionDetails
parseDelimitedFrom(InputStream input)
static DiscoveryEvent.PartitionDetails
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DiscoveryEvent.PartitionDetails
parseFrom(byte[] data)
static DiscoveryEvent.PartitionDetails
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DiscoveryEvent.PartitionDetails
parseFrom(com.google.protobuf.ByteString data)
static DiscoveryEvent.PartitionDetails
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DiscoveryEvent.PartitionDetails
parseFrom(com.google.protobuf.CodedInputStream input)
static DiscoveryEvent.PartitionDetails
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DiscoveryEvent.PartitionDetails
parseFrom(InputStream input)
static DiscoveryEvent.PartitionDetails
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static DiscoveryEvent.PartitionDetails
parseFrom(ByteBuffer data)
static DiscoveryEvent.PartitionDetails
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<DiscoveryEvent.PartitionDetails>
parser()
DiscoveryEvent.PartitionDetails.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
getPartition
in 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:
getPartitionBytes
in 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:
getEntity
in 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:
getEntityBytes
in 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:
getTypeValue
in 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:
getType
in 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:
getSampledDataLocationsList
in 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:
getSampledDataLocationsCount
in 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:
getSampledDataLocations
in 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:
getSampledDataLocationsBytes
in 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:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DiscoveryEvent.PartitionDetails.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DiscoveryEvent.PartitionDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-