Class Entity.CompatibilityStatus.Compatibility.Builder (1.45.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Entity.CompatibilityStatus.Compatibility.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Entity.CompatibilityStatus.Compatibility.Builder
Overrides

build()

public Entity.CompatibilityStatus.Compatibility build()
Returns
Type Description
Entity.CompatibilityStatus.Compatibility

buildPartial()

public Entity.CompatibilityStatus.Compatibility buildPartial()
Returns
Type Description
Entity.CompatibilityStatus.Compatibility

clear()

public Entity.CompatibilityStatus.Compatibility.Builder clear()
Returns
Type Description
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
Type Description
Entity.CompatibilityStatus.Compatibility.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Entity.CompatibilityStatus.Compatibility.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Entity.CompatibilityStatus.Compatibility.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Entity.CompatibilityStatus.Compatibility.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
Entity.CompatibilityStatus.Compatibility.Builder

This builder for chaining.

clone()

public Entity.CompatibilityStatus.Compatibility.Builder clone()
Returns
Type Description
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
Type Description
boolean

The compatible.

getDefaultInstanceForType()

public Entity.CompatibilityStatus.Compatibility getDefaultInstanceForType()
Returns
Type Description
Entity.CompatibilityStatus.Compatibility

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for reason.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Entity.CompatibilityStatus.Compatibility other)

public Entity.CompatibilityStatus.Compatibility.Builder mergeFrom(Entity.CompatibilityStatus.Compatibility other)
Parameter
Name Description
other Entity.CompatibilityStatus.Compatibility
Returns
Type Description
Entity.CompatibilityStatus.Compatibility.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Entity.CompatibilityStatus.Compatibility.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Entity.CompatibilityStatus.Compatibility.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Entity.CompatibilityStatus.Compatibility.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Entity.CompatibilityStatus.Compatibility.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Entity.CompatibilityStatus.Compatibility.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value boolean

The compatible to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The reason to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for reason to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Entity.CompatibilityStatus.Compatibility.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Entity.CompatibilityStatus.Compatibility.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Entity.CompatibilityStatus.Compatibility.Builder
Overrides