implements
// @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.UpdateEntryRequest)
com.google.cloud.dataplex.v1.UpdateEntryRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.cloud.dataplex.v1.CatalogProto
.internal_static_google_cloud_dataplex_v1_UpdateEntryRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.cloud.dataplex.v1.CatalogProto
.internal_static_google_cloud_dataplex_v1_UpdateEntryRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.cloud.dataplex.v1.UpdateEntryRequest.class,
com.google.cloud.dataplex.v1.UpdateEntryRequest.Builder.class);
}
// Construct using com.google.cloud.dataplex.v1.UpdateEntryRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
getEntryFieldBuilder();
getUpdateMaskFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
entry_ = null;
if (entryBuilder_ != null) {
entryBuilder_.dispose();
entryBuilder_ = null;
}
updateMask_ = null;
if (updateMaskBuilder_ != null) {
updateMaskBuilder_.dispose();
updateMaskBuilder_ = null;
}
allowMissing_ = false;
deleteMissingAspects_ = false;
aspectKeys_ = com.google.protobuf.LazyStringArrayList.emptyList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return com.google.cloud.dataplex.v1.CatalogProto
.internal_static_google_cloud_dataplex_v1_UpdateEntryRequest_descriptor;
}
@java.lang.Override
public com.google.cloud.dataplex.v1.UpdateEntryRequest getDefaultInstanceForType() {
return com.google.cloud.dataplex.v1.UpdateEntryRequest.getDefaultInstance();
}
@java.lang.Override
public com.google.cloud.dataplex.v1.UpdateEntryRequest build() {
com.google.cloud.dataplex.v1.UpdateEntryRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.cloud.dataplex.v1.UpdateEntryRequest buildPartial() {
com.google.cloud.dataplex.v1.UpdateEntryRequest result =
new com.google.cloud.dataplex.v1.UpdateEntryRequest(this);
if (bitField0_ != 0) {
buildPartial0(result);
}
onBuilt();
return result;
}
private void buildPartial0(com.google.cloud.dataplex.v1.UpdateEntryRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.entry_ = entryBuilder_ == null ? entry_ : entryBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.allowMissing_ = allowMissing_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.deleteMissingAspects_ = deleteMissingAspects_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
aspectKeys_.makeImmutable();
result.aspectKeys_ = aspectKeys_;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.cloud.dataplex.v1.UpdateEntryRequest) {
return mergeFrom((com.google.cloud.dataplex.v1.UpdateEntryRequest) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.cloud.dataplex.v1.UpdateEntryRequest other) {
if (other == com.google.cloud.dataplex.v1.UpdateEntryRequest.getDefaultInstance())
return this;
if (other.hasEntry()) {
mergeEntry(other.getEntry());
}
if (other.hasUpdateMask()) {
mergeUpdateMask(other.getUpdateMask());
}
if (other.getAllowMissing() != false) {
setAllowMissing(other.getAllowMissing());
}
if (other.getDeleteMissingAspects() != false) {
setDeleteMissingAspects(other.getDeleteMissingAspects());
}
if (!other.aspectKeys_.isEmpty()) {
if (aspectKeys_.isEmpty()) {
aspectKeys_ = other.aspectKeys_;
bitField0_ |= 0x00000010;
} else {
ensureAspectKeysIsMutable();
aspectKeys_.addAll(other.aspectKeys_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10:
{
input.readMessage(getEntryFieldBuilder().getBuilder(), extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 24:
{
allowMissing_ = input.readBool();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32:
{
deleteMissingAspects_ = input.readBool();
bitField0_ |= 0x00000008;
break;
} // case 32
case 42:
{
java.lang.String s = input.readStringRequireUtf8();
ensureAspectKeysIsMutable();
aspectKeys_.add(s);
break;
} // case 42
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.cloud.dataplex.v1.Entry entry_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.dataplex.v1.Entry,
com.google.cloud.dataplex.v1.Entry.Builder,
com.google.cloud.dataplex.v1.EntryOrBuilder>
entryBuilder_;
/**
*
*
*
* Required. Entry resource.
*
*
* .google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return Whether the entry field is set.
*/
public boolean hasEntry() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
*
*
* Required. Entry resource.
*
*
* .google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The entry.
*/
public com.google.cloud.dataplex.v1.Entry getEntry() {
if (entryBuilder_ == null) {
return entry_ == null ? com.google.cloud.dataplex.v1.Entry.getDefaultInstance() : entry_;
} else {
return entryBuilder_.getMessage();
}
}
/**
*
*
*
* Required. Entry resource.
*
*
* .google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
public Builder setEntry(com.google.cloud.dataplex.v1.Entry value) {
if (entryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
entry_ = value;
} else {
entryBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
*
*
* Required. Entry resource.
*
*
* .google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
public Builder setEntry(com.google.cloud.dataplex.v1.Entry.Builder builderForValue) {
if (entryBuilder_ == null) {
entry_ = builderForValue.build();
} else {
entryBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
*
*
* Required. Entry resource.
*
*
* .google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
public Builder mergeEntry(com.google.cloud.dataplex.v1.Entry value) {
if (entryBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)
&& entry_ != null
&& entry_ != com.google.cloud.dataplex.v1.Entry.getDefaultInstance()) {
getEntryBuilder().mergeFrom(value);
} else {
entry_ = value;
}
} else {
entryBuilder_.mergeFrom(value);
}
if (entry_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
*
*
*
* Required. Entry resource.
*
*
* .google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
public Builder clearEntry() {
bitField0_ = (bitField0_ & ~0x00000001);
entry_ = null;
if (entryBuilder_ != null) {
entryBuilder_.dispose();
entryBuilder_ = null;
}
onChanged();
return this;
}
/**
*
*
*
* Required. Entry resource.
*
*
* .google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
public com.google.cloud.dataplex.v1.Entry.Builder getEntryBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getEntryFieldBuilder().getBuilder();
}
/**
*
*
*
* Required. Entry resource.
*
*
* .google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
public com.google.cloud.dataplex.v1.EntryOrBuilder getEntryOrBuilder() {
if (entryBuilder_ != null) {
return entryBuilder_.getMessageOrBuilder();
} else {
return entry_ == null ? com.google.cloud.dataplex.v1.Entry.getDefaultInstance() : entry_;
}
}
/**
*
*
*
* Required. Entry resource.
*
*
* .google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.dataplex.v1.Entry,
com.google.cloud.dataplex.v1.Entry.Builder,
com.google.cloud.dataplex.v1.EntryOrBuilder>
getEntryFieldBuilder() {
if (entryBuilder_ == null) {
entryBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.dataplex.v1.Entry,
com.google.cloud.dataplex.v1.Entry.Builder,
com.google.cloud.dataplex.v1.EntryOrBuilder>(
getEntry(), getParentForChildren(), isClean());
entry_ = null;
}
return entryBuilder_;
}
private com.google.protobuf.FieldMask updateMask_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.FieldMask,
com.google.protobuf.FieldMask.Builder,
com.google.protobuf.FieldMaskOrBuilder>
updateMaskBuilder_;
/**
*
*
*
* 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];
*
*
* @return Whether the updateMask field is set.
*/
public boolean hasUpdateMask() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
*
*
*
* 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];
*
*
* @return The updateMask.
*/
public com.google.protobuf.FieldMask getUpdateMask() {
if (updateMaskBuilder_ == null) {
return updateMask_ == null
? com.google.protobuf.FieldMask.getDefaultInstance()
: updateMask_;
} else {
return updateMaskBuilder_.getMessage();
}
}
/**
*
*
*
* 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];
*
*/
public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
if (updateMaskBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
updateMask_ = value;
} else {
updateMaskBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
*
*
* 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];
*
*/
public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
if (updateMaskBuilder_ == null) {
updateMask_ = builderForValue.build();
} else {
updateMaskBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
*
*
* 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];
*
*/
public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
if (updateMaskBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)
&& updateMask_ != null
&& updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) {
getUpdateMaskBuilder().mergeFrom(value);
} else {
updateMask_ = value;
}
} else {
updateMaskBuilder_.mergeFrom(value);
}
if (updateMask_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
*
*
*
* 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];
*
*/
public Builder clearUpdateMask() {
bitField0_ = (bitField0_ & ~0x00000002);
updateMask_ = null;
if (updateMaskBuilder_ != null) {
updateMaskBuilder_.dispose();
updateMaskBuilder_ = null;
}
onChanged();
return this;
}
/**
*
*
*
* 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];
*
*/
public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getUpdateMaskFieldBuilder().getBuilder();
}
/**
*
*
*
* 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];
*
*/
public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
if (updateMaskBuilder_ != null) {
return updateMaskBuilder_.getMessageOrBuilder();
} else {
return updateMask_ == null
? com.google.protobuf.FieldMask.getDefaultInstance()
: updateMask_;
}
}
/**
*
*
*
* 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];
*
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.FieldMask,
com.google.protobuf.FieldMask.Builder,
com.google.protobuf.FieldMaskOrBuilder>
getUpdateMaskFieldBuilder() {
if (updateMaskBuilder_ == null) {
updateMaskBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.FieldMask,
com.google.protobuf.FieldMask.Builder,
com.google.protobuf.FieldMaskOrBuilder>(
getUpdateMask(), getParentForChildren(), isClean());
updateMask_ = null;
}
return updateMaskBuilder_;
}
private boolean allowMissing_;
/**
*
*
*
* Optional. If set to true and the entry does not exist, it will be created.
*
*
* bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The allowMissing.
*/
@java.lang.Override
public boolean getAllowMissing() {
return allowMissing_;
}
/**
*
*
*
* Optional. If set to true and the entry does not exist, it will be created.
*
*
* bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @param value The allowMissing to set.
* @return This builder for chaining.
*/
public Builder setAllowMissing(boolean value) {
allowMissing_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
*
*
* Optional. If set to true and the entry does not exist, it will be created.
*
*
* bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];
*
* @return This builder for chaining.
*/
public Builder clearAllowMissing() {
bitField0_ = (bitField0_ & ~0x00000004);
allowMissing_ = false;
onChanged();
return this;
}
private boolean deleteMissingAspects_;
/**
*
*
*
* 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];
*
* @return The deleteMissingAspects.
*/
@java.lang.Override
public boolean getDeleteMissingAspects() {
return deleteMissingAspects_;
}
/**
*
*
*
* 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];
*
* @param value The deleteMissingAspects to set.
* @return This builder for chaining.
*/
public Builder setDeleteMissingAspects(boolean value) {
deleteMissingAspects_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
*
*
*
* 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];
*
* @return This builder for chaining.
*/
public Builder clearDeleteMissingAspects() {
bitField0_ = (bitField0_ & ~0x00000008);
deleteMissingAspects_ = false;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList aspectKeys_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureAspectKeysIsMutable() {
if (!aspectKeys_.isModifiable()) {
aspectKeys_ = new com.google.protobuf.LazyStringArrayList(aspectKeys_);
}
bitField0_ |= 0x00000010;
}
/**
*
*
*
* 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];
*
* @return A list containing the aspectKeys.
*/
public com.google.protobuf.ProtocolStringList getAspectKeysList() {
aspectKeys_.makeImmutable();
return aspectKeys_;
}
/**
*
*
*
* 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];
*
* @return The count of aspectKeys.
*/
public int getAspectKeysCount() {
return aspectKeys_.size();
}
/**
*
*
*
* 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];
*
* @param index The index of the element to return.
* @return The aspectKeys at the given index.
*/
public java.lang.String getAspectKeys(int index) {
return aspectKeys_.get(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];
*
* @param index The index of the value to return.
* @return The bytes of the aspectKeys at the given index.
*/
public com.google.protobuf.ByteString getAspectKeysBytes(int index) {
return aspectKeys_.getByteString(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];
*
* @param index The index to set the value at.
* @param value The aspectKeys to set.
* @return This builder for chaining.
*/
public Builder setAspectKeys(int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureAspectKeysIsMutable();
aspectKeys_.set(index, value);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
*
*
*
* 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];
*
* @param value The aspectKeys to add.
* @return This builder for chaining.
*/
public Builder addAspectKeys(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureAspectKeysIsMutable();
aspectKeys_.add(value);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
*
*
*
* 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];
*
* @param values The aspectKeys to add.
* @return This builder for chaining.
*/
public Builder addAllAspectKeys(java.lang.Iterable values) {
ensureAspectKeysIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aspectKeys_);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
*
*
*
* 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];
*
* @return This builder for chaining.
*/
public Builder clearAspectKeys() {
aspectKeys_ = com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
;
onChanged();
return this;
}
/**
*
*
*
* 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];
*
* @param value The bytes of the aspectKeys to add.
* @return This builder for chaining.
*/
public Builder addAspectKeysBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureAspectKeysIsMutable();
aspectKeys_.add(value);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:google.cloud.dataplex.v1.UpdateEntryRequest)
}
// @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.UpdateEntryRequest)
private static final com.google.cloud.dataplex.v1.UpdateEntryRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.UpdateEntryRequest();
}
public static com.google.cloud.dataplex.v1.UpdateEntryRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
@java.lang.Override
public UpdateEntryRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.google.cloud.dataplex.v1.UpdateEntryRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}