Class DiscoveryEvent.ConfigDetails.Builder (1.34.0)

public static final class DiscoveryEvent.ConfigDetails.Builder extends GeneratedMessageV3.Builder<DiscoveryEvent.ConfigDetails.Builder> implements DiscoveryEvent.ConfigDetailsOrBuilder

Details about configuration events.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DiscoveryEvent.ConfigDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DiscoveryEvent.ConfigDetails.Builder
Overrides

build()

public DiscoveryEvent.ConfigDetails build()
Returns
TypeDescription
DiscoveryEvent.ConfigDetails

buildPartial()

public DiscoveryEvent.ConfigDetails buildPartial()
Returns
TypeDescription
DiscoveryEvent.ConfigDetails

clear()

public DiscoveryEvent.ConfigDetails.Builder clear()
Returns
TypeDescription
DiscoveryEvent.ConfigDetails.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DiscoveryEvent.ConfigDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DiscoveryEvent.ConfigDetails.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DiscoveryEvent.ConfigDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DiscoveryEvent.ConfigDetails.Builder
Overrides

clearParameters()

public DiscoveryEvent.ConfigDetails.Builder clearParameters()
Returns
TypeDescription
DiscoveryEvent.ConfigDetails.Builder

clone()

public DiscoveryEvent.ConfigDetails.Builder clone()
Returns
TypeDescription
DiscoveryEvent.ConfigDetails.Builder
Overrides

containsParameters(String key)

public boolean containsParameters(String key)

A list of discovery configuration parameters in effect. The keys are the field paths within DiscoverySpec. Eg. includePatterns, excludePatterns, csvOptions.disableTypeInference, etc.

map<string, string> parameters = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMutableParameters() (deprecated)

public Map<String,String> getMutableParameters()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getParameters() (deprecated)

public Map<String,String> getParameters()

Use #getParametersMap() instead.

Returns
TypeDescription
Map<String,String>

getParametersCount()

public int getParametersCount()

A list of discovery configuration parameters in effect. The keys are the field paths within DiscoverySpec. Eg. includePatterns, excludePatterns, csvOptions.disableTypeInference, etc.

map<string, string> parameters = 1;

Returns
TypeDescription
int

getParametersMap()

public Map<String,String> getParametersMap()

A list of discovery configuration parameters in effect. The keys are the field paths within DiscoverySpec. Eg. includePatterns, excludePatterns, csvOptions.disableTypeInference, etc.

map<string, string> parameters = 1;

Returns
TypeDescription
Map<String,String>

getParametersOrDefault(String key, String defaultValue)

public String getParametersOrDefault(String key, String defaultValue)

A list of discovery configuration parameters in effect. The keys are the field paths within DiscoverySpec. Eg. includePatterns, excludePatterns, csvOptions.disableTypeInference, etc.

map<string, string> parameters = 1;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getParametersOrThrow(String key)

public String getParametersOrThrow(String key)

A list of discovery configuration parameters in effect. The keys are the field paths within DiscoverySpec. Eg. includePatterns, excludePatterns, csvOptions.disableTypeInference, etc.

map<string, string> parameters = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DiscoveryEvent.ConfigDetails other)

public DiscoveryEvent.ConfigDetails.Builder mergeFrom(DiscoveryEvent.ConfigDetails other)
Parameter
NameDescription
otherDiscoveryEvent.ConfigDetails
Returns
TypeDescription
DiscoveryEvent.ConfigDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DiscoveryEvent.ConfigDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiscoveryEvent.ConfigDetails.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DiscoveryEvent.ConfigDetails.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DiscoveryEvent.ConfigDetails.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryEvent.ConfigDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DiscoveryEvent.ConfigDetails.Builder
Overrides

putAllParameters(Map<String,String> values)

public DiscoveryEvent.ConfigDetails.Builder putAllParameters(Map<String,String> values)

A list of discovery configuration parameters in effect. The keys are the field paths within DiscoverySpec. Eg. includePatterns, excludePatterns, csvOptions.disableTypeInference, etc.

map<string, string> parameters = 1;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
DiscoveryEvent.ConfigDetails.Builder

putParameters(String key, String value)

public DiscoveryEvent.ConfigDetails.Builder putParameters(String key, String value)

A list of discovery configuration parameters in effect. The keys are the field paths within DiscoverySpec. Eg. includePatterns, excludePatterns, csvOptions.disableTypeInference, etc.

map<string, string> parameters = 1;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
DiscoveryEvent.ConfigDetails.Builder

removeParameters(String key)

public DiscoveryEvent.ConfigDetails.Builder removeParameters(String key)

A list of discovery configuration parameters in effect. The keys are the field paths within DiscoverySpec. Eg. includePatterns, excludePatterns, csvOptions.disableTypeInference, etc.

map<string, string> parameters = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
DiscoveryEvent.ConfigDetails.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DiscoveryEvent.ConfigDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DiscoveryEvent.ConfigDetails.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DiscoveryEvent.ConfigDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DiscoveryEvent.ConfigDetails.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryEvent.ConfigDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DiscoveryEvent.ConfigDetails.Builder
Overrides