Class Entity.CompatibilityStatus.Compatibility.Builder (1.18.0)

public static final class Entity.CompatibilityStatus.Compatibility.Builder extends GeneratedMessageV3.Builder<Entity.CompatibilityStatus.Compatibility.Builder> implements Entity.CompatibilityStatus.CompatibilityOrBuilder

Provides compatibility information for a specific metadata store.

Protobuf type google.cloud.dataplex.v1.Entity.CompatibilityStatus.Compatibility

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Entity.CompatibilityStatus.Compatibility.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Entity.CompatibilityStatus.Compatibility.Builder
Overrides

build()

public Entity.CompatibilityStatus.Compatibility build()
Returns
TypeDescription
Entity.CompatibilityStatus.Compatibility

buildPartial()

public Entity.CompatibilityStatus.Compatibility buildPartial()
Returns
TypeDescription
Entity.CompatibilityStatus.Compatibility

clear()

public Entity.CompatibilityStatus.Compatibility.Builder clear()
Returns
TypeDescription
Entity.CompatibilityStatus.Compatibility.Builder
Overrides

clearCompatible()

public Entity.CompatibilityStatus.Compatibility.Builder clearCompatible()

Output only. Whether the entity is compatible and can be represented in the metadata store.

bool compatible = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Entity.CompatibilityStatus.Compatibility.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Entity.CompatibilityStatus.Compatibility.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Entity.CompatibilityStatus.Compatibility.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Entity.CompatibilityStatus.Compatibility.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Entity.CompatibilityStatus.Compatibility.Builder
Overrides

clearReason()

public Entity.CompatibilityStatus.Compatibility.Builder clearReason()

Output only. Provides additional detail if the entity is incompatible with the metadata store.

string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Entity.CompatibilityStatus.Compatibility.Builder

This builder for chaining.

clone()

public Entity.CompatibilityStatus.Compatibility.Builder clone()
Returns
TypeDescription
Entity.CompatibilityStatus.Compatibility.Builder
Overrides

getCompatible()

public boolean getCompatible()

Output only. Whether the entity is compatible and can be represented in the metadata store.

bool compatible = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

The compatible.

getDefaultInstanceForType()

public Entity.CompatibilityStatus.Compatibility getDefaultInstanceForType()
Returns
TypeDescription
Entity.CompatibilityStatus.Compatibility

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getReason()

public String getReason()

Output only. Provides additional detail if the entity is incompatible with the metadata store.

string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The reason.

getReasonBytes()

public ByteString getReasonBytes()

Output only. Provides additional detail if the entity is incompatible with the metadata store.

string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for reason.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Entity.CompatibilityStatus.Compatibility other)

public Entity.CompatibilityStatus.Compatibility.Builder mergeFrom(Entity.CompatibilityStatus.Compatibility other)
Parameter
NameDescription
otherEntity.CompatibilityStatus.Compatibility
Returns
TypeDescription
Entity.CompatibilityStatus.Compatibility.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Entity.CompatibilityStatus.Compatibility.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Entity.CompatibilityStatus.Compatibility.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Entity.CompatibilityStatus.Compatibility.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Entity.CompatibilityStatus.Compatibility.Builder
Overrides

setCompatible(boolean value)

public Entity.CompatibilityStatus.Compatibility.Builder setCompatible(boolean value)

Output only. Whether the entity is compatible and can be represented in the metadata store.

bool compatible = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueboolean

The compatible to set.

Returns
TypeDescription
Entity.CompatibilityStatus.Compatibility.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Entity.CompatibilityStatus.Compatibility.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Entity.CompatibilityStatus.Compatibility.Builder
Overrides

setReason(String value)

public Entity.CompatibilityStatus.Compatibility.Builder setReason(String value)

Output only. Provides additional detail if the entity is incompatible with the metadata store.

string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The reason to set.

Returns
TypeDescription
Entity.CompatibilityStatus.Compatibility.Builder

This builder for chaining.

setReasonBytes(ByteString value)

public Entity.CompatibilityStatus.Compatibility.Builder setReasonBytes(ByteString value)

Output only. Provides additional detail if the entity is incompatible with the metadata store.

string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for reason to set.

Returns
TypeDescription
Entity.CompatibilityStatus.Compatibility.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Entity.CompatibilityStatus.Compatibility.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Entity.CompatibilityStatus.Compatibility.Builder
Overrides