Class EntryLink.EntryReference (1.72.0)

public static final class EntryLink.EntryReference extends GeneratedMessageV3 implements EntryLink.EntryReferenceOrBuilder

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

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

Static Fields

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int
public static final int PATH_FIELD_NUMBER
Field Value
Type Description
int
public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

public static EntryLink.EntryReference getDefaultInstance()
Returns
Type Description
EntryLink.EntryReference
public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor
public static EntryLink.EntryReference.Builder newBuilder()
Returns
Type Description
EntryLink.EntryReference.Builder
public static EntryLink.EntryReference.Builder newBuilder(EntryLink.EntryReference prototype)
Parameter
Name Description
prototype EntryLink.EntryReference
Returns
Type Description
EntryLink.EntryReference.Builder
public static EntryLink.EntryReference parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EntryLink.EntryReference
Exceptions
Type Description
IOException
public static EntryLink.EntryReference parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntryLink.EntryReference
Exceptions
Type Description
IOException
public static EntryLink.EntryReference parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
EntryLink.EntryReference
Exceptions
Type Description
InvalidProtocolBufferException
public static EntryLink.EntryReference parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntryLink.EntryReference
Exceptions
Type Description
InvalidProtocolBufferException
public static EntryLink.EntryReference parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
EntryLink.EntryReference
Exceptions
Type Description
InvalidProtocolBufferException
public static EntryLink.EntryReference parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntryLink.EntryReference
Exceptions
Type Description
InvalidProtocolBufferException
public static EntryLink.EntryReference parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
EntryLink.EntryReference
Exceptions
Type Description
IOException
public static EntryLink.EntryReference parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntryLink.EntryReference
Exceptions
Type Description
IOException
public static EntryLink.EntryReference parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
EntryLink.EntryReference
Exceptions
Type Description
IOException
public static EntryLink.EntryReference parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntryLink.EntryReference
Exceptions
Type Description
IOException
public static EntryLink.EntryReference parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
EntryLink.EntryReference
Exceptions
Type Description
InvalidProtocolBufferException
public static EntryLink.EntryReference parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EntryLink.EntryReference
Exceptions
Type Description
InvalidProtocolBufferException
public static Parser<EntryLink.EntryReference> parser()
Returns
Type Description
Parser<EntryReference>

Methods

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides
public EntryLink.EntryReference getDefaultInstanceForType()
Returns
Type Description
EntryLink.EntryReference
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 Parser<EntryLink.EntryReference> getParserForType()
Returns
Type Description
Parser<EntryReference>
Overrides
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 int getSerializedSize()
Returns
Type Description
int
Overrides
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.

public int hashCode()
Returns
Type Description
int
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public EntryLink.EntryReference.Builder newBuilderForType()
Returns
Type Description
EntryLink.EntryReference.Builder
protected EntryLink.EntryReference.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
EntryLink.EntryReference.Builder
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides
public EntryLink.EntryReference.Builder toBuilder()
Returns
Type Description
EntryLink.EntryReference.Builder
public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException