Package com.google.cloud.dataplex.v1
Class UpdateEntryRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateEntryRequest.Builder>
com.google.cloud.dataplex.v1.UpdateEntryRequest.Builder
- All Implemented Interfaces:
UpdateEntryRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UpdateEntryRequest
public static final class UpdateEntryRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<UpdateEntryRequest.Builder>
implements UpdateEntryRequestOrBuilder
Update Entry request.Protobuf type
google.cloud.dataplex.v1.UpdateEntryRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllAspectKeys(Iterable<String> values) Optional.addAspectKeys(String value) Optional.addAspectKeysBytes(com.google.protobuf.ByteString value) Optional.build()clear()Optional.Optional.Optional.Required.Optional.booleanOptional.getAspectKeys(int index) Optional.com.google.protobuf.ByteStringgetAspectKeysBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.booleanOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEntry()Required.Required.Required.com.google.protobuf.FieldMaskOptional.com.google.protobuf.FieldMask.BuilderOptional.com.google.protobuf.FieldMaskOrBuilderOptional.booleanhasEntry()Required.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeEntry(Entry value) Required.mergeFrom(UpdateEntryRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateMask(com.google.protobuf.FieldMask value) Optional.setAllowMissing(boolean value) Optional.setAspectKeys(int index, String value) Optional.setDeleteMissingAspects(boolean value) Optional.Required.setEntry(Entry.Builder builderForValue) Required.setUpdateMask(com.google.protobuf.FieldMask value) Optional.setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<UpdateEntryRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<UpdateEntryRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<UpdateEntryRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateEntryRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UpdateEntryRequest.Builder>
-
mergeFrom
public UpdateEntryRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateEntryRequest.Builder>- Throws:
IOException
-
hasEntry
public boolean hasEntry()Required. Entry resource.
.google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasEntryin interfaceUpdateEntryRequestOrBuilder- Returns:
- Whether the entry field is set.
-
getEntry
Required. Entry resource.
.google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getEntryin interfaceUpdateEntryRequestOrBuilder- Returns:
- The entry.
-
setEntry
Required. Entry resource.
.google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; -
setEntry
Required. Entry resource.
.google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; -
mergeEntry
Required. Entry resource.
.google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; -
clearEntry
Required. Entry resource.
.google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; -
getEntryBuilder
Required. Entry resource.
.google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED]; -
getEntryOrBuilder
Required. Entry resource.
.google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getEntryOrBuilderin interfaceUpdateEntryRequestOrBuilder
-
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, the service will update all modifiable fields present in the request.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasUpdateMaskin interfaceUpdateEntryRequestOrBuilder- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
public com.google.protobuf.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, the service will update all modifiable fields present in the request.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getUpdateMaskin interfaceUpdateEntryRequestOrBuilder- Returns:
- The updateMask.
-
setUpdateMask
Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects". If the update_mask is empty, the service will update all modifiable fields present in the request.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; -
setUpdateMask
public UpdateEntryRequest.Builder setUpdateMask(com.google.protobuf.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, the service will update all modifiable fields present in the request.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; -
mergeUpdateMask
Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects". If the update_mask is empty, the service will update all modifiable fields present in the request.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; -
clearUpdateMask
Optional. Mask of fields to update. To update Aspects, the update_mask must contain the value "aspects". If the update_mask is empty, the service will update all modifiable fields present in the request.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getUpdateMaskBuilder
public com.google.protobuf.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, the service will update all modifiable fields present in the request.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getUpdateMaskOrBuilder
public com.google.protobuf.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, the service will update all modifiable fields present in the request.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getUpdateMaskOrBuilderin interfaceUpdateEntryRequestOrBuilder
-
getAllowMissing
public boolean getAllowMissing()Optional. If set to true and the entry doesn't exist, the service will create it.
bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAllowMissingin interfaceUpdateEntryRequestOrBuilder- Returns:
- The allowMissing.
-
setAllowMissing
Optional. If set to true and the entry doesn't exist, the service will create it.
bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The allowMissing to set.- Returns:
- This builder for chaining.
-
clearAllowMissing
Optional. If set to true and the entry doesn't exist, the service will create it.
bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getDeleteMissingAspects
public boolean getDeleteMissingAspects()Optional. If set to true and the aspect_keys specify aspect ranges, the service deletes any existing aspects from that range that weren't provided in the request.
bool delete_missing_aspects = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeleteMissingAspectsin interfaceUpdateEntryRequestOrBuilder- Returns:
- The deleteMissingAspects.
-
setDeleteMissingAspects
Optional. If set to true and the aspect_keys specify aspect ranges, the service deletes any existing aspects from that range that weren't provided in the request.
bool delete_missing_aspects = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The deleteMissingAspects to set.- Returns:
- This builder for chaining.
-
clearDeleteMissingAspects
Optional. If set to true and the aspect_keys specify aspect ranges, the service deletes any existing aspects from that range that weren't provided in the request.
bool delete_missing_aspects = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getAspectKeysList
public com.google.protobuf.ProtocolStringList getAspectKeysList()Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: * `<aspect_type_reference>` - matches an aspect of the given type and empty path. * `<aspect_type_reference>@path` - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the `schema` aspect, the path should have the format `Schema.<field_name>`. * `<aspect_type_reference>@*` - matches aspects of the given type for all paths. * `*@path` - matches aspects of all types on the given path. The service will not remove existing aspects matching the syntax unless `delete_missing_aspects` is set to true. 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];- Specified by:
getAspectKeysListin interfaceUpdateEntryRequestOrBuilder- Returns:
- A list containing the aspectKeys.
-
getAspectKeysCount
public int getAspectKeysCount()Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: * `<aspect_type_reference>` - matches an aspect of the given type and empty path. * `<aspect_type_reference>@path` - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the `schema` aspect, the path should have the format `Schema.<field_name>`. * `<aspect_type_reference>@*` - matches aspects of the given type for all paths. * `*@path` - matches aspects of all types on the given path. The service will not remove existing aspects matching the syntax unless `delete_missing_aspects` is set to true. 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];- Specified by:
getAspectKeysCountin interfaceUpdateEntryRequestOrBuilder- Returns:
- The count of aspectKeys.
-
getAspectKeys
Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: * `<aspect_type_reference>` - matches an aspect of the given type and empty path. * `<aspect_type_reference>@path` - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the `schema` aspect, the path should have the format `Schema.<field_name>`. * `<aspect_type_reference>@*` - matches aspects of the given type for all paths. * `*@path` - matches aspects of all types on the given path. The service will not remove existing aspects matching the syntax unless `delete_missing_aspects` is set to true. 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];- Specified by:
getAspectKeysin interfaceUpdateEntryRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The aspectKeys at the given index.
-
getAspectKeysBytes
public com.google.protobuf.ByteString getAspectKeysBytes(int index) Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: * `<aspect_type_reference>` - matches an aspect of the given type and empty path. * `<aspect_type_reference>@path` - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the `schema` aspect, the path should have the format `Schema.<field_name>`. * `<aspect_type_reference>@*` - matches aspects of the given type for all paths. * `*@path` - matches aspects of all types on the given path. The service will not remove existing aspects matching the syntax unless `delete_missing_aspects` is set to true. 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];- Specified by:
getAspectKeysBytesin interfaceUpdateEntryRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the aspectKeys at the given index.
-
setAspectKeys
Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: * `<aspect_type_reference>` - matches an aspect of the given type and empty path. * `<aspect_type_reference>@path` - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the `schema` aspect, the path should have the format `Schema.<field_name>`. * `<aspect_type_reference>@*` - matches aspects of the given type for all paths. * `*@path` - matches aspects of all types on the given path. The service will not remove existing aspects matching the syntax unless `delete_missing_aspects` is set to true. 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:
index- The index to set the value at.value- The aspectKeys to set.- Returns:
- This builder for chaining.
-
addAspectKeys
Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: * `<aspect_type_reference>` - matches an aspect of the given type and empty path. * `<aspect_type_reference>@path` - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the `schema` aspect, the path should have the format `Schema.<field_name>`. * `<aspect_type_reference>@*` - matches aspects of the given type for all paths. * `*@path` - matches aspects of all types on the given path. The service will not remove existing aspects matching the syntax unless `delete_missing_aspects` is set to true. 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:
value- The aspectKeys to add.- Returns:
- This builder for chaining.
-
addAllAspectKeys
Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: * `<aspect_type_reference>` - matches an aspect of the given type and empty path. * `<aspect_type_reference>@path` - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the `schema` aspect, the path should have the format `Schema.<field_name>`. * `<aspect_type_reference>@*` - matches aspects of the given type for all paths. * `*@path` - matches aspects of all types on the given path. The service will not remove existing aspects matching the syntax unless `delete_missing_aspects` is set to true. 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:
values- The aspectKeys to add.- Returns:
- This builder for chaining.
-
clearAspectKeys
Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: * `<aspect_type_reference>` - matches an aspect of the given type and empty path. * `<aspect_type_reference>@path` - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the `schema` aspect, the path should have the format `Schema.<field_name>`. * `<aspect_type_reference>@*` - matches aspects of the given type for all paths. * `*@path` - matches aspects of all types on the given path. The service will not remove existing aspects matching the syntax unless `delete_missing_aspects` is set to true. 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:
- This builder for chaining.
-
addAspectKeysBytes
Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: * `<aspect_type_reference>` - matches an aspect of the given type and empty path. * `<aspect_type_reference>@path` - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the `schema` aspect, the path should have the format `Schema.<field_name>`. * `<aspect_type_reference>@*` - matches aspects of the given type for all paths. * `*@path` - matches aspects of all types on the given path. The service will not remove existing aspects matching the syntax unless `delete_missing_aspects` is set to true. 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:
value- The bytes of the aspectKeys to add.- Returns:
- This builder for chaining.
-