- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.2
- 1.0.1
- 0.2.2
public static final class DiscoveryEvent.PartitionDetails.Builder extends GeneratedMessageV3.Builder<DiscoveryEvent.PartitionDetails.Builder> implements DiscoveryEvent.PartitionDetailsOrBuilder
Details about the partition.
Protobuf type google.cloud.dataplex.v1.DiscoveryEvent.PartitionDetails
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DiscoveryEvent.PartitionDetails.BuilderImplements
DiscoveryEvent.PartitionDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllSampledDataLocations(Iterable<String> values)
public DiscoveryEvent.PartitionDetails.Builder addAllSampledDataLocations(Iterable<String> values)
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 |
values | Iterable<String> The sampledDataLocations to add. |
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DiscoveryEvent.PartitionDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails.Builder |
addSampledDataLocations(String value)
public DiscoveryEvent.PartitionDetails.Builder addSampledDataLocations(String value)
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 |
value | String The sampledDataLocations to add. |
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails.Builder | This builder for chaining. |
addSampledDataLocationsBytes(ByteString value)
public DiscoveryEvent.PartitionDetails.Builder addSampledDataLocationsBytes(ByteString value)
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 |
value | ByteString The bytes of the sampledDataLocations to add. |
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails.Builder | This builder for chaining. |
build()
public DiscoveryEvent.PartitionDetails build()
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails |
buildPartial()
public DiscoveryEvent.PartitionDetails buildPartial()
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails |
clear()
public DiscoveryEvent.PartitionDetails.Builder clear()
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails.Builder |
clearEntity()
public DiscoveryEvent.PartitionDetails.Builder clearEntity()
The name to the containing entity resource. The name is the fully-qualified resource name.
string entity = 2;
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DiscoveryEvent.PartitionDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DiscoveryEvent.PartitionDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails.Builder |
clearPartition()
public DiscoveryEvent.PartitionDetails.Builder clearPartition()
The name to the partition resource. The name is the fully-qualified resource name.
string partition = 1;
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails.Builder | This builder for chaining. |
clearSampledDataLocations()
public DiscoveryEvent.PartitionDetails.Builder clearSampledDataLocations()
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 |
DiscoveryEvent.PartitionDetails.Builder | This builder for chaining. |
clearType()
public DiscoveryEvent.PartitionDetails.Builder clearType()
The type of the containing entity resource.
.google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3;
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails.Builder | This builder for chaining. |
clone()
public DiscoveryEvent.PartitionDetails.Builder clone()
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails.Builder |
getDefaultInstanceForType()
public DiscoveryEvent.PartitionDetails getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(DiscoveryEvent.PartitionDetails other)
public DiscoveryEvent.PartitionDetails.Builder mergeFrom(DiscoveryEvent.PartitionDetails other)
Parameter | |
---|---|
Name | Description |
other | DiscoveryEvent.PartitionDetails |
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DiscoveryEvent.PartitionDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DiscoveryEvent.PartitionDetails.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveryEvent.PartitionDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails.Builder |
setEntity(String value)
public DiscoveryEvent.PartitionDetails.Builder setEntity(String value)
The name to the containing entity resource. The name is the fully-qualified resource name.
string entity = 2;
Parameter | |
---|---|
Name | Description |
value | String The entity to set. |
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails.Builder | This builder for chaining. |
setEntityBytes(ByteString value)
public DiscoveryEvent.PartitionDetails.Builder setEntityBytes(ByteString value)
The name to the containing entity resource. The name is the fully-qualified resource name.
string entity = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for entity to set. |
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DiscoveryEvent.PartitionDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails.Builder |
setPartition(String value)
public DiscoveryEvent.PartitionDetails.Builder setPartition(String value)
The name to the partition resource. The name is the fully-qualified resource name.
string partition = 1;
Parameter | |
---|---|
Name | Description |
value | String The partition to set. |
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails.Builder | This builder for chaining. |
setPartitionBytes(ByteString value)
public DiscoveryEvent.PartitionDetails.Builder setPartitionBytes(ByteString value)
The name to the partition resource. The name is the fully-qualified resource name.
string partition = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for partition to set. |
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DiscoveryEvent.PartitionDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails.Builder |
setSampledDataLocations(int index, String value)
public DiscoveryEvent.PartitionDetails.Builder setSampledDataLocations(int index, String value)
The locations of the data items (e.g., a Cloud Storage objects) sampled for metadata inference.
repeated string sampled_data_locations = 4;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The sampledDataLocations to set. |
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails.Builder | This builder for chaining. |
setType(DiscoveryEvent.EntityType value)
public DiscoveryEvent.PartitionDetails.Builder setType(DiscoveryEvent.EntityType value)
The type of the containing entity resource.
.google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3;
Parameter | |
---|---|
Name | Description |
value | DiscoveryEvent.EntityType The type to set. |
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails.Builder | This builder for chaining. |
setTypeValue(int value)
public DiscoveryEvent.PartitionDetails.Builder setTypeValue(int value)
The type of the containing entity resource.
.google.cloud.dataplex.v1.DiscoveryEvent.EntityType type = 3;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for type to set. |
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveryEvent.PartitionDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DiscoveryEvent.PartitionDetails.Builder |