Class UpdateEntryLinkRequest.Builder (1.86.0)

public static final class UpdateEntryLinkRequest.Builder extends GeneratedMessage.Builder<UpdateEntryLinkRequest.Builder> implements UpdateEntryLinkRequestOrBuilder

Request message for UpdateEntryLink method.

Protobuf type google.cloud.dataplex.v1.UpdateEntryLinkRequest

Static Methods

getDescriptor()

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

Methods

addAllAspectKeys(Iterable<String> values)

public UpdateEntryLinkRequest.Builder addAllAspectKeys(Iterable<String> values)

Optional. The map keys of the Aspects which the service should modify. It should be the aspect type reference in the format {project_id_or_number}.{location_id}.{aspect_type_id}.

If this field is left empty, the service treats it as specifying exactly those Aspects present in the request.

repeated string aspect_keys = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The aspectKeys to add.

Returns
Type Description
UpdateEntryLinkRequest.Builder

This builder for chaining.

addAspectKeys(String value)

public UpdateEntryLinkRequest.Builder addAspectKeys(String value)

Optional. The map keys of the Aspects which the service should modify. It should be the aspect type reference in the format {project_id_or_number}.{location_id}.{aspect_type_id}.

If this field is left empty, the service treats it as specifying exactly those Aspects present in the request.

repeated string aspect_keys = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The aspectKeys to add.

Returns
Type Description
UpdateEntryLinkRequest.Builder

This builder for chaining.

addAspectKeysBytes(ByteString value)

public UpdateEntryLinkRequest.Builder addAspectKeysBytes(ByteString value)

Optional. The map keys of the Aspects which the service should modify. It should be the aspect type reference in the format {project_id_or_number}.{location_id}.{aspect_type_id}.

If this field is left empty, the service treats it as specifying exactly those Aspects present in the request.

repeated string aspect_keys = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the aspectKeys to add.

Returns
Type Description
UpdateEntryLinkRequest.Builder

This builder for chaining.

build()

public UpdateEntryLinkRequest build()
Returns
Type Description
UpdateEntryLinkRequest

buildPartial()

public UpdateEntryLinkRequest buildPartial()
Returns
Type Description
UpdateEntryLinkRequest

clear()

public UpdateEntryLinkRequest.Builder clear()
Returns
Type Description
UpdateEntryLinkRequest.Builder
Overrides

clearAllowMissing()

public UpdateEntryLinkRequest.Builder clearAllowMissing()

Optional. If set to true and the entry link doesn't exist, the service will create it.

bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateEntryLinkRequest.Builder

This builder for chaining.

clearAspectKeys()

public UpdateEntryLinkRequest.Builder clearAspectKeys()

Optional. The map keys of the Aspects which the service should modify. It should be the aspect type reference in the format {project_id_or_number}.{location_id}.{aspect_type_id}.

If this field is left empty, the service treats it as specifying exactly those Aspects present in the request.

repeated string aspect_keys = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateEntryLinkRequest.Builder

This builder for chaining.

public UpdateEntryLinkRequest.Builder clearEntryLink()

Required. Entry Link resource.

.google.cloud.dataplex.v1.EntryLink entry_link = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateEntryLinkRequest.Builder

getAllowMissing()

public boolean getAllowMissing()

Optional. If set to true and the entry link doesn't exist, the service will create it.

bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The allowMissing.

getAspectKeys(int index)

public String getAspectKeys(int index)

Optional. The map keys of the Aspects which the service should modify. It should be the aspect type reference in the format {project_id_or_number}.{location_id}.{aspect_type_id}.

If this field is left empty, the service treats it as specifying exactly those Aspects present in the request.

repeated string aspect_keys = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The aspectKeys at the given index.

getAspectKeysBytes(int index)

public ByteString getAspectKeysBytes(int index)

Optional. The map keys of the Aspects which the service should modify. It should be the aspect type reference in the format {project_id_or_number}.{location_id}.{aspect_type_id}.

If this field is left empty, the service treats it as specifying exactly those Aspects present in the request.

repeated string aspect_keys = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the aspectKeys at the given index.

getAspectKeysCount()

public int getAspectKeysCount()

Optional. The map keys of the Aspects which the service should modify. It should be the aspect type reference in the format {project_id_or_number}.{location_id}.{aspect_type_id}.

If this field is left empty, the service treats it as specifying exactly those Aspects present in the request.

repeated string aspect_keys = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of aspectKeys.

getAspectKeysList()

public ProtocolStringList getAspectKeysList()

Optional. The map keys of the Aspects which the service should modify. It should be the aspect type reference in the format {project_id_or_number}.{location_id}.{aspect_type_id}.

If this field is left empty, the service treats it as specifying exactly those Aspects present in the request.

repeated string aspect_keys = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the aspectKeys.

getDefaultInstanceForType()

public UpdateEntryLinkRequest getDefaultInstanceForType()
Returns
Type Description
UpdateEntryLinkRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides
public EntryLink getEntryLink()

Required. Entry Link resource.

.google.cloud.dataplex.v1.EntryLink entry_link = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EntryLink

The entryLink.

getEntryLinkBuilder()

public EntryLink.Builder getEntryLinkBuilder()

Required. Entry Link resource.

.google.cloud.dataplex.v1.EntryLink entry_link = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EntryLink.Builder

getEntryLinkOrBuilder()

public EntryLinkOrBuilder getEntryLinkOrBuilder()

Required. Entry Link resource.

.google.cloud.dataplex.v1.EntryLink entry_link = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EntryLinkOrBuilder
public boolean hasEntryLink()

Required. Entry Link resource.

.google.cloud.dataplex.v1.EntryLink entry_link = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the entryLink field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public UpdateEntryLinkRequest.Builder mergeEntryLink(EntryLink value)

Required. Entry Link resource.

.google.cloud.dataplex.v1.EntryLink entry_link = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EntryLink
Returns
Type Description
UpdateEntryLinkRequest.Builder

mergeFrom(UpdateEntryLinkRequest other)

public UpdateEntryLinkRequest.Builder mergeFrom(UpdateEntryLinkRequest other)
Parameter
Name Description
other UpdateEntryLinkRequest
Returns
Type Description
UpdateEntryLinkRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateEntryLinkRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateEntryLinkRequest.Builder
Overrides

setAllowMissing(boolean value)

public UpdateEntryLinkRequest.Builder setAllowMissing(boolean value)

Optional. If set to true and the entry link doesn't exist, the service will create it.

bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The allowMissing to set.

Returns
Type Description
UpdateEntryLinkRequest.Builder

This builder for chaining.

setAspectKeys(int index, String value)

public UpdateEntryLinkRequest.Builder setAspectKeys(int index, String value)

Optional. The map keys of the Aspects which the service should modify. It should be the aspect type reference in the format {project_id_or_number}.{location_id}.{aspect_type_id}.

If this field is left empty, the service treats it as specifying exactly those Aspects present in the request.

repeated string aspect_keys = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The aspectKeys to set.

Returns
Type Description
UpdateEntryLinkRequest.Builder

This builder for chaining.

public UpdateEntryLinkRequest.Builder setEntryLink(EntryLink value)

Required. Entry Link resource.

.google.cloud.dataplex.v1.EntryLink entry_link = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value EntryLink
Returns
Type Description
UpdateEntryLinkRequest.Builder
public UpdateEntryLinkRequest.Builder setEntryLink(EntryLink.Builder builderForValue)

Required. Entry Link resource.

.google.cloud.dataplex.v1.EntryLink entry_link = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue EntryLink.Builder
Returns
Type Description
UpdateEntryLinkRequest.Builder