public static final class DiscoveryEvent.PartitionDetails extends GeneratedMessageV3 implements DiscoveryEvent.PartitionDetailsOrBuilder
Details about the partition.
Protobuf type google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails
Static Fields
ENTITY_FIELD_NUMBER
public static final int ENTITY_FIELD_NUMBER
Field Value
PARTITION_FIELD_NUMBER
public static final int PARTITION_FIELD_NUMBER
Field Value
SAMPLED_DATA_LOCATIONS_FIELD_NUMBER
public static final int SAMPLED_DATA_LOCATIONS_FIELD_NUMBER
Field Value
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DiscoveryEvent.PartitionDetails getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DiscoveryEvent.PartitionDetails.Builder newBuilder()
Returns
newBuilder(DiscoveryEvent.PartitionDetails prototype)
public static DiscoveryEvent.PartitionDetails.Builder newBuilder(DiscoveryEvent.PartitionDetails prototype)
Parameter
Returns
public static DiscoveryEvent.PartitionDetails parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DiscoveryEvent.PartitionDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DiscoveryEvent.PartitionDetails parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryEvent.PartitionDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DiscoveryEvent.PartitionDetails parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryEvent.PartitionDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DiscoveryEvent.PartitionDetails parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DiscoveryEvent.PartitionDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DiscoveryEvent.PartitionDetails parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DiscoveryEvent.PartitionDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DiscoveryEvent.PartitionDetails parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DiscoveryEvent.PartitionDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DiscoveryEvent.PartitionDetails> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public DiscoveryEvent.PartitionDetails getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<DiscoveryEvent.PartitionDetails> getParserForType()
Returns
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
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getType()
public DiscoveryEvent.EntityType getType()
The type of the containing entity resource.
.google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3;
Returns
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DiscoveryEvent.PartitionDetails.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DiscoveryEvent.PartitionDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DiscoveryEvent.PartitionDetails.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions