
com.google.cloud.dataplex.v1.UpdateEntryRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-dataplex-v1 Show documentation
Show all versions of proto-google-cloud-dataplex-v1 Show documentation
Proto library for google-cloud-dataplex
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dataplex/v1/catalog.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.dataplex.v1;
/** Protobuf type {@code google.cloud.dataplex.v1.UpdateEntryRequest} */
public final class UpdateEntryRequest extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.UpdateEntryRequest)
UpdateEntryRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use UpdateEntryRequest.newBuilder() to construct.
private UpdateEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private UpdateEntryRequest() {
aspectKeys_ = com.google.protobuf.LazyStringArrayList.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new UpdateEntryRequest();
}
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);
}
private int bitField0_;
public static final int ENTRY_FIELD_NUMBER = 1;
private com.google.cloud.dataplex.v1.Entry entry_;
/**
*
*
*
* Required. Entry resource.
*
*
* .google.cloud.dataplex.v1.Entry entry = 1 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return Whether the entry field is set.
*/
@java.lang.Override
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.
*/
@java.lang.Override
public com.google.cloud.dataplex.v1.Entry getEntry() {
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];
*
*/
@java.lang.Override
public com.google.cloud.dataplex.v1.EntryOrBuilder getEntryOrBuilder() {
return entry_ == null ? com.google.cloud.dataplex.v1.Entry.getDefaultInstance() : entry_;
}
public static final int UPDATE_MASK_FIELD_NUMBER = 2;
private com.google.protobuf.FieldMask 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];
*
*
* @return Whether the updateMask field is set.
*/
@java.lang.Override
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.
*/
@java.lang.Override
public com.google.protobuf.FieldMask getUpdateMask() {
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];
*
*/
@java.lang.Override
public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_;
}
public static final int ALLOW_MISSING_FIELD_NUMBER = 3;
private boolean allowMissing_ = false;
/**
*
*
*
* 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_;
}
public static final int DELETE_MISSING_ASPECTS_FIELD_NUMBER = 4;
private boolean deleteMissingAspects_ = false;
/**
*
*
*
* 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_;
}
public static final int ASPECT_KEYS_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList aspectKeys_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
*
*
*
* 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() {
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);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getEntry());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getUpdateMask());
}
if (allowMissing_ != false) {
output.writeBool(3, allowMissing_);
}
if (deleteMissingAspects_ != false) {
output.writeBool(4, deleteMissingAspects_);
}
for (int i = 0; i < aspectKeys_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, aspectKeys_.getRaw(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntry());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
}
if (allowMissing_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, allowMissing_);
}
if (deleteMissingAspects_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, deleteMissingAspects_);
}
{
int dataSize = 0;
for (int i = 0; i < aspectKeys_.size(); i++) {
dataSize += computeStringSizeNoTag(aspectKeys_.getRaw(i));
}
size += dataSize;
size += 1 * getAspectKeysList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.google.cloud.dataplex.v1.UpdateEntryRequest)) {
return super.equals(obj);
}
com.google.cloud.dataplex.v1.UpdateEntryRequest other =
(com.google.cloud.dataplex.v1.UpdateEntryRequest) obj;
if (hasEntry() != other.hasEntry()) return false;
if (hasEntry()) {
if (!getEntry().equals(other.getEntry())) return false;
}
if (hasUpdateMask() != other.hasUpdateMask()) return false;
if (hasUpdateMask()) {
if (!getUpdateMask().equals(other.getUpdateMask())) return false;
}
if (getAllowMissing() != other.getAllowMissing()) return false;
if (getDeleteMissingAspects() != other.getDeleteMissingAspects()) return false;
if (!getAspectKeysList().equals(other.getAspectKeysList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasEntry()) {
hash = (37 * hash) + ENTRY_FIELD_NUMBER;
hash = (53 * hash) + getEntry().hashCode();
}
if (hasUpdateMask()) {
hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER;
hash = (53 * hash) + getUpdateMask().hashCode();
}
hash = (37 * hash) + ALLOW_MISSING_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowMissing());
hash = (37 * hash) + DELETE_MISSING_ASPECTS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeleteMissingAspects());
if (getAspectKeysCount() > 0) {
hash = (37 * hash) + ASPECT_KEYS_FIELD_NUMBER;
hash = (53 * hash) + getAspectKeysList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.cloud.dataplex.v1.UpdateEntryRequest parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.cloud.dataplex.v1.UpdateEntryRequest parseFrom(
java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.cloud.dataplex.v1.UpdateEntryRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.cloud.dataplex.v1.UpdateEntryRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.cloud.dataplex.v1.UpdateEntryRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.cloud.dataplex.v1.UpdateEntryRequest parseFrom(
byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.google.cloud.dataplex.v1.UpdateEntryRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static com.google.cloud.dataplex.v1.UpdateEntryRequest parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.cloud.dataplex.v1.UpdateEntryRequest parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.cloud.dataplex.v1.UpdateEntryRequest parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.cloud.dataplex.v1.UpdateEntryRequest parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static com.google.cloud.dataplex.v1.UpdateEntryRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.google.cloud.dataplex.v1.UpdateEntryRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/** Protobuf type {@code google.cloud.dataplex.v1.UpdateEntryRequest} */
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
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;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy