Class UpdateEntryRequest.Builder (1.38.0)

public static final class UpdateEntryRequest.Builder extends GeneratedMessageV3.Builder<UpdateEntryRequest.Builder> implements UpdateEntryRequestOrBuilder

Protobuf type google.cloud.dataplex.v1.UpdateEntryRequest

Static Methods

getDescriptor()

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

Methods

addAllAspectKeys(Iterable<String> values)

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

Optional. The map keys of the Aspects which should be modified. Supports the following syntaxes:

  • <aspect_type_reference> - matches aspect on given type and empty path
  • <aspect_type_reference>@path - matches aspect on given type and specified path
  • <aspect_type_reference>* - matches aspects on given type for all paths
  • *@path - matches aspects of all types on the given path

    Existing aspects matching the syntax will not be removed unless delete_missing_aspects is set to true.

    If this field is left empty, it will be treated as specifying exactly those Aspects present in the request.

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

Parameter
NameDescription
valuesIterable<String>

The aspectKeys to add.

Returns
TypeDescription
UpdateEntryRequest.Builder

This builder for chaining.

addAspectKeys(String value)

public UpdateEntryRequest.Builder addAspectKeys(String value)

Optional. The map keys of the Aspects which should be modified. Supports the following syntaxes:

  • <aspect_type_reference> - matches aspect on given type and empty path
  • <aspect_type_reference>@path - matches aspect on given type and specified path
  • <aspect_type_reference>* - matches aspects on given type for all paths
  • *@path - matches aspects of all types on the given path

    Existing aspects matching the syntax will not be removed unless delete_missing_aspects is set to true.

    If this field is left empty, it will be treated as specifying exactly those Aspects present in the request.

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

Parameter
NameDescription
valueString

The aspectKeys to add.

Returns
TypeDescription
UpdateEntryRequest.Builder

This builder for chaining.

addAspectKeysBytes(ByteString value)

public UpdateEntryRequest.Builder addAspectKeysBytes(ByteString value)

Optional. The map keys of the Aspects which should be modified. Supports the following syntaxes:

  • <aspect_type_reference> - matches aspect on given type and empty path
  • <aspect_type_reference>@path - matches aspect on given type and specified path
  • <aspect_type_reference>* - matches aspects on given type for all paths
  • *@path - matches aspects of all types on the given path

    Existing aspects matching the syntax will not be removed unless delete_missing_aspects is set to true.

    If this field is left empty, it will be treated as specifying exactly those Aspects present in the request.

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

Parameter
NameDescription
valueByteString

The bytes of the aspectKeys to add.

Returns
TypeDescription
UpdateEntryRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateEntryRequest build()
Returns
TypeDescription
UpdateEntryRequest

buildPartial()

public UpdateEntryRequest buildPartial()
Returns
TypeDescription
UpdateEntryRequest

clear()

public UpdateEntryRequest.Builder clear()
Returns
TypeDescription
UpdateEntryRequest.Builder
Overrides

clearAllowMissing()

public UpdateEntryRequest.Builder clearAllowMissing()

Optional. If set to true and the entry does not exist, it will be created.

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

Returns
TypeDescription
UpdateEntryRequest.Builder

This builder for chaining.

clearAspectKeys()

public UpdateEntryRequest.Builder clearAspectKeys()

Optional. The map keys of the Aspects which should be modified. Supports the following syntaxes:

  • <aspect_type_reference> - matches aspect on given type and empty path
  • <aspect_type_reference>@path - matches aspect on given type and specified path
  • <aspect_type_reference>* - matches aspects on given type for all paths
  • *@path - matches aspects of all types on the given path

    Existing aspects matching the syntax will not be removed unless delete_missing_aspects is set to true.

    If this field is left empty, it will be treated as specifying exactly those Aspects present in the request.

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

Returns
TypeDescription
UpdateEntryRequest.Builder

This builder for chaining.

clearDeleteMissingAspects()

public UpdateEntryRequest.Builder clearDeleteMissingAspects()

Optional. If set to true and the aspect_keys specify aspect ranges, any existing aspects from that range not provided in the request will be deleted.

bool delete_missing_aspects = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
UpdateEntryRequest.Builder

This builder for chaining.

clearEntry()

public UpdateEntryRequest.Builder clearEntry()

Required. Entry resource.

.google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateEntryRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateEntryRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateEntryRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateEntryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateEntryRequest.Builder
Overrides

clearUpdateMask()

public UpdateEntryRequest.Builder clearUpdateMask()

Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects".

If the update_mask is empty, all modifiable fields present in the request will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
UpdateEntryRequest.Builder

clone()

public UpdateEntryRequest.Builder clone()
Returns
TypeDescription
UpdateEntryRequest.Builder
Overrides

getAllowMissing()

public boolean getAllowMissing()

Optional. If set to true and the entry does not exist, it will be created.

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

Returns
TypeDescription
boolean

The allowMissing.

getAspectKeys(int index)

public String getAspectKeys(int index)

Optional. The map keys of the Aspects which should be modified. Supports the following syntaxes:

  • <aspect_type_reference> - matches aspect on given type and empty path
  • <aspect_type_reference>@path - matches aspect on given type and specified path
  • <aspect_type_reference>* - matches aspects on given type for all paths
  • *@path - matches aspects of all types on the given path

    Existing aspects matching the syntax will not be removed unless delete_missing_aspects is set to true.

    If this field is left empty, it will be treated as specifying exactly those Aspects present in the request.

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

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The aspectKeys at the given index.

getAspectKeysBytes(int index)

public ByteString getAspectKeysBytes(int index)

Optional. The map keys of the Aspects which should be modified. Supports the following syntaxes:

  • <aspect_type_reference> - matches aspect on given type and empty path
  • <aspect_type_reference>@path - matches aspect on given type and specified path
  • <aspect_type_reference>* - matches aspects on given type for all paths
  • *@path - matches aspects of all types on the given path

    Existing aspects matching the syntax will not be removed unless delete_missing_aspects is set to true.

    If this field is left empty, it will be treated as specifying exactly those Aspects present in the request.

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

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the aspectKeys at the given index.

getAspectKeysCount()

public int getAspectKeysCount()

Optional. The map keys of the Aspects which should be modified. Supports the following syntaxes:

  • <aspect_type_reference> - matches aspect on given type and empty path
  • <aspect_type_reference>@path - matches aspect on given type and specified path
  • <aspect_type_reference>* - matches aspects on given type for all paths
  • *@path - matches aspects of all types on the given path

    Existing aspects matching the syntax will not be removed unless delete_missing_aspects is set to true.

    If this field is left empty, it will be treated as specifying exactly those Aspects present in the request.

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

Returns
TypeDescription
int

The count of aspectKeys.

getAspectKeysList()

public ProtocolStringList getAspectKeysList()

Optional. The map keys of the Aspects which should be modified. Supports the following syntaxes:

  • <aspect_type_reference> - matches aspect on given type and empty path
  • <aspect_type_reference>@path - matches aspect on given type and specified path
  • <aspect_type_reference>* - matches aspects on given type for all paths
  • *@path - matches aspects of all types on the given path

    Existing aspects matching the syntax will not be removed unless delete_missing_aspects is set to true.

    If this field is left empty, it will be treated as specifying exactly those Aspects present in the request.

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

Returns
TypeDescription
ProtocolStringList

A list containing the aspectKeys.

getDefaultInstanceForType()

public UpdateEntryRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateEntryRequest

getDeleteMissingAspects()

public boolean getDeleteMissingAspects()

Optional. If set to true and the aspect_keys specify aspect ranges, any existing aspects from that range not provided in the request will be deleted.

bool delete_missing_aspects = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The deleteMissingAspects.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntry()

public Entry getEntry()

Required. Entry resource.

.google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Entry

The entry.

getEntryBuilder()

public Entry.Builder getEntryBuilder()

Required. Entry resource.

.google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Entry.Builder

getEntryOrBuilder()

public EntryOrBuilder getEntryOrBuilder()

Required. Entry resource.

.google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
EntryOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects".

If the update_mask is empty, all modifiable fields present in the request will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects".

If the update_mask is empty, all modifiable fields present in the request will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects".

If the update_mask is empty, all modifiable fields present in the request will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
FieldMaskOrBuilder

hasEntry()

public boolean hasEntry()

Required. Entry resource.

.google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the entry field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects".

If the update_mask is empty, all modifiable fields present in the request will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeEntry(Entry value)

public UpdateEntryRequest.Builder mergeEntry(Entry value)

Required. Entry resource.

.google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueEntry
Returns
TypeDescription
UpdateEntryRequest.Builder

mergeFrom(UpdateEntryRequest other)

public UpdateEntryRequest.Builder mergeFrom(UpdateEntryRequest other)
Parameter
NameDescription
otherUpdateEntryRequest
Returns
TypeDescription
UpdateEntryRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateEntryRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateEntryRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateEntryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateEntryRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateEntryRequest.Builder mergeUpdateMask(FieldMask value)

Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects".

If the update_mask is empty, all modifiable fields present in the request will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateEntryRequest.Builder

setAllowMissing(boolean value)

public UpdateEntryRequest.Builder setAllowMissing(boolean value)

Optional. If set to true and the entry does not exist, it will be created.

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

Parameter
NameDescription
valueboolean

The allowMissing to set.

Returns
TypeDescription
UpdateEntryRequest.Builder

This builder for chaining.

setAspectKeys(int index, String value)

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

Optional. The map keys of the Aspects which should be modified. Supports the following syntaxes:

  • <aspect_type_reference> - matches aspect on given type and empty path
  • <aspect_type_reference>@path - matches aspect on given type and specified path
  • <aspect_type_reference>* - matches aspects on given type for all paths
  • *@path - matches aspects of all types on the given path

    Existing aspects matching the syntax will not be removed unless delete_missing_aspects is set to true.

    If this field is left empty, it will be treated as specifying exactly those Aspects present in the request.

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

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The aspectKeys to set.

Returns
TypeDescription
UpdateEntryRequest.Builder

This builder for chaining.

setDeleteMissingAspects(boolean value)

public UpdateEntryRequest.Builder setDeleteMissingAspects(boolean value)

Optional. If set to true and the aspect_keys specify aspect ranges, any existing aspects from that range not provided in the request will be deleted.

bool delete_missing_aspects = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueboolean

The deleteMissingAspects to set.

Returns
TypeDescription
UpdateEntryRequest.Builder

This builder for chaining.

setEntry(Entry value)

public UpdateEntryRequest.Builder setEntry(Entry value)

Required. Entry resource.

.google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueEntry
Returns
TypeDescription
UpdateEntryRequest.Builder

setEntry(Entry.Builder builderForValue)

public UpdateEntryRequest.Builder setEntry(Entry.Builder builderForValue)

Required. Entry resource.

.google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueEntry.Builder
Returns
TypeDescription
UpdateEntryRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateEntryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateEntryRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateEntryRequest.Builder setUpdateMask(FieldMask value)

Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects".

If the update_mask is empty, all modifiable fields present in the request will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateEntryRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateEntryRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects".

If the update_mask is empty, all modifiable fields present in the request will be updated.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateEntryRequest.Builder