Class EntryLink.EntryReference.Builder (1.72.0)

public static final class EntryLink.EntryReference.Builder extends GeneratedMessageV3.Builder<EntryLink.EntryReference.Builder> implements EntryLink.EntryReferenceOrBuilder

Reference to the Entry that is linked through the Entry Link.

Protobuf type google.cloud.dataplex.v1.EntryLink.EntryReference

Static Methods

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

public EntryLink.EntryReference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EntryLink.EntryReference.Builder
Overrides
public EntryLink.EntryReference build()
Returns
Type Description
EntryLink.EntryReference
public EntryLink.EntryReference buildPartial()
Returns
Type Description
EntryLink.EntryReference
public EntryLink.EntryReference.Builder clear()
Returns
Type Description
EntryLink.EntryReference.Builder
Overrides
public EntryLink.EntryReference.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EntryLink.EntryReference.Builder
Overrides
public EntryLink.EntryReference.Builder clearName()

Required. Immutable. The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
EntryLink.EntryReference.Builder

This builder for chaining.

public EntryLink.EntryReference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EntryLink.EntryReference.Builder
Overrides
public EntryLink.EntryReference.Builder clearPath()

Immutable. The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link.

string path = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
EntryLink.EntryReference.Builder

This builder for chaining.

public EntryLink.EntryReference.Builder clearType()

Required. Immutable. The reference type of the Entry.

.google.cloud.dataplex.v1.EntryLink.EntryReference.Type type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
EntryLink.EntryReference.Builder

This builder for chaining.

public EntryLink.EntryReference.Builder clone()
Returns
Type Description
EntryLink.EntryReference.Builder
Overrides
public EntryLink.EntryReference getDefaultInstanceForType()
Returns
Type Description
EntryLink.EntryReference
public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides
public String getName()

Required. Immutable. The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The name.

public ByteString getNameBytes()

Required. Immutable. The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for name.

public String getPath()

Immutable. The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link.

string path = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The path.

public ByteString getPathBytes()

Immutable. The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link.

string path = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for path.

public EntryLink.EntryReference.Type getType()

Required. Immutable. The reference type of the Entry.

.google.cloud.dataplex.v1.EntryLink.EntryReference.Type type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
EntryLink.EntryReference.Type

The type.

public int getTypeValue()

Required. Immutable. The reference type of the Entry.

.google.cloud.dataplex.v1.EntryLink.EntryReference.Type type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
int

The enum numeric value on the wire for type.

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public EntryLink.EntryReference.Builder mergeFrom(EntryLink.EntryReference other)
Parameter
Name Description
other EntryLink.EntryReference
Returns
Type Description
EntryLink.EntryReference.Builder
public EntryLink.EntryReference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntryLink.EntryReference.Builder
Overrides
Exceptions
Type Description
IOException
public EntryLink.EntryReference.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EntryLink.EntryReference.Builder
Overrides
public final EntryLink.EntryReference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EntryLink.EntryReference.Builder
Overrides
public EntryLink.EntryReference.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EntryLink.EntryReference.Builder
Overrides
public EntryLink.EntryReference.Builder setName(String value)

Required. Immutable. The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
EntryLink.EntryReference.Builder

This builder for chaining.

public EntryLink.EntryReference.Builder setNameBytes(ByteString value)

Required. Immutable. The relative resource name of the referenced Entry, of the form: projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
EntryLink.EntryReference.Builder

This builder for chaining.

public EntryLink.EntryReference.Builder setPath(String value)

Immutable. The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link.

string path = 2 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The path to set.

Returns
Type Description
EntryLink.EntryReference.Builder

This builder for chaining.

public EntryLink.EntryReference.Builder setPathBytes(ByteString value)

Immutable. The path in the Entry that is referenced in the Entry Link. Empty path denotes that the Entry itself is referenced in the Entry Link.

string path = 2 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for path to set.

Returns
Type Description
EntryLink.EntryReference.Builder

This builder for chaining.

public EntryLink.EntryReference.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EntryLink.EntryReference.Builder
Overrides
public EntryLink.EntryReference.Builder setType(EntryLink.EntryReference.Type value)

Required. Immutable. The reference type of the Entry.

.google.cloud.dataplex.v1.EntryLink.EntryReference.Type type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value EntryLink.EntryReference.Type

The type to set.

Returns
Type Description
EntryLink.EntryReference.Builder

This builder for chaining.

public EntryLink.EntryReference.Builder setTypeValue(int value)

Required. Immutable. The reference type of the Entry.

.google.cloud.dataplex.v1.EntryLink.EntryReference.Type type = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
EntryLink.EntryReference.Builder

This builder for chaining.

public final EntryLink.EntryReference.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EntryLink.EntryReference.Builder
Overrides