Class DiscoveryEvent.PartitionDetails (1.20.0)

public static final class DiscoveryEvent.PartitionDetails extends GeneratedMessageV3 implements DiscoveryEvent.PartitionDetailsOrBuilder

Details about the partition.

Protobuf type google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DiscoveryEvent.PartitionDetails

Static Fields

ENTITY_FIELD_NUMBER

public static final int ENTITY_FIELD_NUMBER
Field Value
TypeDescription
int

PARTITION_FIELD_NUMBER

public static final int PARTITION_FIELD_NUMBER
Field Value
TypeDescription
int

SAMPLED_DATA_LOCATIONS_FIELD_NUMBER

public static final int SAMPLED_DATA_LOCATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DiscoveryEvent.PartitionDetails getDefaultInstance()
Returns
TypeDescription
DiscoveryEvent.PartitionDetails

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DiscoveryEvent.PartitionDetails.Builder newBuilder()
Returns
TypeDescription
DiscoveryEvent.PartitionDetails.Builder

newBuilder(DiscoveryEvent.PartitionDetails prototype)

public static DiscoveryEvent.PartitionDetails.Builder newBuilder(DiscoveryEvent.PartitionDetails prototype)
Parameter
NameDescription
prototypeDiscoveryEvent.PartitionDetails
Returns
TypeDescription
DiscoveryEvent.PartitionDetails.Builder

parseDelimitedFrom(InputStream input)

public static DiscoveryEvent.PartitionDetails parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DiscoveryEvent.PartitionDetails
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DiscoveryEvent.PartitionDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiscoveryEvent.PartitionDetails
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DiscoveryEvent.PartitionDetails parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DiscoveryEvent.PartitionDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DiscoveryEvent.PartitionDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiscoveryEvent.PartitionDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DiscoveryEvent.PartitionDetails parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DiscoveryEvent.PartitionDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DiscoveryEvent.PartitionDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiscoveryEvent.PartitionDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DiscoveryEvent.PartitionDetails parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DiscoveryEvent.PartitionDetails
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DiscoveryEvent.PartitionDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiscoveryEvent.PartitionDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DiscoveryEvent.PartitionDetails parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DiscoveryEvent.PartitionDetails
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DiscoveryEvent.PartitionDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiscoveryEvent.PartitionDetails
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DiscoveryEvent.PartitionDetails parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DiscoveryEvent.PartitionDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DiscoveryEvent.PartitionDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiscoveryEvent.PartitionDetails
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DiscoveryEvent.PartitionDetails> parser()
Returns
TypeDescription
Parser<PartitionDetails>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DiscoveryEvent.PartitionDetails getDefaultInstanceForType()
Returns
TypeDescription
DiscoveryEvent.PartitionDetails

getEntity()

public String getEntity()

The name to the containing entity resource. The name is the fully-qualified resource name.

string entity = 2;

Returns
TypeDescription
String

The entity.

getEntityBytes()

public ByteString getEntityBytes()

The name to the containing entity resource. The name is the fully-qualified resource name.

string entity = 2;

Returns
TypeDescription
ByteString

The bytes for entity.

getParserForType()

public Parser<DiscoveryEvent.PartitionDetails> getParserForType()
Returns
TypeDescription
Parser<PartitionDetails>
Overrides

getPartition()

public String getPartition()

The name to the partition resource. The name is the fully-qualified resource name.

string partition = 1;

Returns
TypeDescription
String

The partition.

getPartitionBytes()

public ByteString getPartitionBytes()

The name to the partition resource. The name is the fully-qualified resource name.

string partition = 1;

Returns
TypeDescription
ByteString

The bytes for partition.

getSampledDataLocations(int index)

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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The sampledDataLocations at the given index.

getSampledDataLocationsBytes(int index)

public 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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the sampledDataLocations at the given index.

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;

Returns
TypeDescription
int

The count of sampledDataLocations.

getSampledDataLocationsList()

public ProtocolStringList getSampledDataLocationsList()

The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.

repeated string sampled_data_locations = 4;

Returns
TypeDescription
ProtocolStringList

A list containing the sampledDataLocations.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getType()

public DiscoveryEvent.EntityType getType()

The type of the containing entity resource.

.google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3;

Returns
TypeDescription
DiscoveryEvent.EntityType

The type.

getTypeValue()

public int getTypeValue()

The type of the containing entity resource.

.google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for type.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DiscoveryEvent.PartitionDetails.Builder newBuilderForType()
Returns
TypeDescription
DiscoveryEvent.PartitionDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DiscoveryEvent.PartitionDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DiscoveryEvent.PartitionDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DiscoveryEvent.PartitionDetails.Builder toBuilder()
Returns
TypeDescription
DiscoveryEvent.PartitionDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException