Class DiscoveryEvent.PartitionDetails (1.50.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
Type Description
int

PARTITION_FIELD_NUMBER

public static final int PARTITION_FIELD_NUMBER
Field Value
Type Description
int

SAMPLED_DATA_LOCATIONS_FIELD_NUMBER

public static final int SAMPLED_DATA_LOCATIONS_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DiscoveryEvent.PartitionDetails getDefaultInstance()
Returns
Type Description
DiscoveryEvent.PartitionDetails

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DiscoveryEvent.PartitionDetails.Builder newBuilder()
Returns
Type Description
DiscoveryEvent.PartitionDetails.Builder

newBuilder(DiscoveryEvent.PartitionDetails prototype)

public static DiscoveryEvent.PartitionDetails.Builder newBuilder(DiscoveryEvent.PartitionDetails prototype)
Parameter
Name Description
prototype DiscoveryEvent.PartitionDetails
Returns
Type Description
DiscoveryEvent.PartitionDetails.Builder

parseDelimitedFrom(InputStream input)

public static DiscoveryEvent.PartitionDetails parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DiscoveryEvent.PartitionDetails
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DiscoveryEvent.PartitionDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryEvent.PartitionDetails
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DiscoveryEvent.PartitionDetails parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DiscoveryEvent.PartitionDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DiscoveryEvent.PartitionDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryEvent.PartitionDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DiscoveryEvent.PartitionDetails parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DiscoveryEvent.PartitionDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DiscoveryEvent.PartitionDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryEvent.PartitionDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DiscoveryEvent.PartitionDetails parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DiscoveryEvent.PartitionDetails
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DiscoveryEvent.PartitionDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryEvent.PartitionDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DiscoveryEvent.PartitionDetails parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DiscoveryEvent.PartitionDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DiscoveryEvent.PartitionDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryEvent.PartitionDetails
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DiscoveryEvent.PartitionDetails parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DiscoveryEvent.PartitionDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DiscoveryEvent.PartitionDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryEvent.PartitionDetails
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public DiscoveryEvent.PartitionDetails getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for entity.

getParserForType()

public Parser<DiscoveryEvent.PartitionDetails> getParserForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
ProtocolStringList

A list containing the sampledDataLocations.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public DiscoveryEvent.EntityType getType()

The type of the containing entity resource.

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

Returns
Type Description
DiscoveryEvent.EntityType

The type.

getTypeValue()

public int getTypeValue()

The type of the containing entity resource.

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

Returns
Type Description
int

The enum numeric value on the wire for type.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DiscoveryEvent.PartitionDetails.Builder newBuilderForType()
Returns
Type Description
DiscoveryEvent.PartitionDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DiscoveryEvent.PartitionDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DiscoveryEvent.PartitionDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DiscoveryEvent.PartitionDetails.Builder toBuilder()
Returns
Type Description
DiscoveryEvent.PartitionDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException