All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.dataplex.v1.Aspect Maven / Gradle / Ivy

/*
 * 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.3
package com.google.cloud.dataplex.v1;

/**
 *
 *
 * 
 * An aspect is a single piece of metadata describing an entry.
 * 
* * Protobuf type {@code google.cloud.dataplex.v1.Aspect} */ public final class Aspect extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataplex.v1.Aspect) AspectOrBuilder { private static final long serialVersionUID = 0L; // Use Aspect.newBuilder() to construct. private Aspect(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Aspect() { aspectType_ = ""; path_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Aspect(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dataplex.v1.CatalogProto .internal_static_google_cloud_dataplex_v1_Aspect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dataplex.v1.CatalogProto .internal_static_google_cloud_dataplex_v1_Aspect_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.Aspect.class, com.google.cloud.dataplex.v1.Aspect.Builder.class); } private int bitField0_; public static final int ASPECT_TYPE_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object aspectType_ = ""; /** * * *
   * Output only. The resource name of the type used to create this Aspect.
   * 
* * string aspect_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The aspectType. */ @java.lang.Override public java.lang.String getAspectType() { java.lang.Object ref = aspectType_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); aspectType_ = s; return s; } } /** * * *
   * Output only. The resource name of the type used to create this Aspect.
   * 
* * string aspect_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for aspectType. */ @java.lang.Override public com.google.protobuf.ByteString getAspectTypeBytes() { java.lang.Object ref = aspectType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); aspectType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PATH_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object path_ = ""; /** * * *
   * Output only. The path in the entry under which the aspect is attached.
   * 
* * string path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The path. */ @java.lang.Override public java.lang.String getPath() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** * * *
   * Output only. The path in the entry under which the aspect is attached.
   * 
* * string path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for path. */ @java.lang.Override public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CREATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp createTime_; /** * * *
   * Output only. The time when the Aspect was created.
   * 
* * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the createTime field is set. */ @java.lang.Override public boolean hasCreateTime() { return ((bitField0_ & 0x00000001) != 0); } /** * * *
   * Output only. The time when the Aspect was created.
   * 
* * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The createTime. */ @java.lang.Override public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** * * *
   * Output only. The time when the Aspect was created.
   * 
* * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } public static final int UPDATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp updateTime_; /** * * *
   * Output only. The time when the Aspect was last updated.
   * 
* * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the updateTime field is set. */ @java.lang.Override public boolean hasUpdateTime() { return ((bitField0_ & 0x00000002) != 0); } /** * * *
   * Output only. The time when the Aspect was last updated.
   * 
* * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The updateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** * * *
   * Output only. The time when the Aspect was last updated.
   * 
* * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } public static final int DATA_FIELD_NUMBER = 8; private com.google.protobuf.Struct data_; /** * * *
   * Required. The content of the aspect, according to its aspect type schema.
   * This will replace `content`.
   * The maximum size of the field is 120KB (encoded as UTF-8).
   * 
* * .google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED]; * * @return Whether the data field is set. */ @java.lang.Override public boolean hasData() { return ((bitField0_ & 0x00000004) != 0); } /** * * *
   * Required. The content of the aspect, according to its aspect type schema.
   * This will replace `content`.
   * The maximum size of the field is 120KB (encoded as UTF-8).
   * 
* * .google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED]; * * @return The data. */ @java.lang.Override public com.google.protobuf.Struct getData() { return data_ == null ? com.google.protobuf.Struct.getDefaultInstance() : data_; } /** * * *
   * Required. The content of the aspect, according to its aspect type schema.
   * This will replace `content`.
   * The maximum size of the field is 120KB (encoded as UTF-8).
   * 
* * .google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.StructOrBuilder getDataOrBuilder() { return data_ == null ? com.google.protobuf.Struct.getDefaultInstance() : data_; } public static final int ASPECT_SOURCE_FIELD_NUMBER = 9; private com.google.cloud.dataplex.v1.AspectSource aspectSource_; /** * * .google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the aspectSource field is set. */ @java.lang.Override public boolean hasAspectSource() { return ((bitField0_ & 0x00000008) != 0); } /** * * .google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The aspectSource. */ @java.lang.Override public com.google.cloud.dataplex.v1.AspectSource getAspectSource() { return aspectSource_ == null ? com.google.cloud.dataplex.v1.AspectSource.getDefaultInstance() : aspectSource_; } /** * * .google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL]; * */ @java.lang.Override public com.google.cloud.dataplex.v1.AspectSourceOrBuilder getAspectSourceOrBuilder() { return aspectSource_ == null ? com.google.cloud.dataplex.v1.AspectSource.getDefaultInstance() : aspectSource_; } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(aspectType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, aspectType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getCreateTime()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(4, getUpdateTime()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(8, getData()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(9, getAspectSource()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(aspectType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, aspectType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getUpdateTime()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getData()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getAspectSource()); } 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.Aspect)) { return super.equals(obj); } com.google.cloud.dataplex.v1.Aspect other = (com.google.cloud.dataplex.v1.Aspect) obj; if (!getAspectType().equals(other.getAspectType())) return false; if (!getPath().equals(other.getPath())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { if (!getUpdateTime().equals(other.getUpdateTime())) return false; } if (hasData() != other.hasData()) return false; if (hasData()) { if (!getData().equals(other.getData())) return false; } if (hasAspectSource() != other.hasAspectSource()) return false; if (hasAspectSource()) { if (!getAspectSource().equals(other.getAspectSource())) 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(); hash = (37 * hash) + ASPECT_TYPE_FIELD_NUMBER; hash = (53 * hash) + getAspectType().hashCode(); hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); if (hasCreateTime()) { hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); } if (hasUpdateTime()) { hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getUpdateTime().hashCode(); } if (hasData()) { hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); } if (hasAspectSource()) { hash = (37 * hash) + ASPECT_SOURCE_FIELD_NUMBER; hash = (53 * hash) + getAspectSource().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataplex.v1.Aspect parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.Aspect 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.Aspect parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.Aspect 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.Aspect parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.cloud.dataplex.v1.Aspect 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.Aspect parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Aspect 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.Aspect parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.dataplex.v1.Aspect 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.Aspect 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.Aspect 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.Aspect 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; } /** * * *
   * An aspect is a single piece of metadata describing an entry.
   * 
* * Protobuf type {@code google.cloud.dataplex.v1.Aspect} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataplex.v1.Aspect) com.google.cloud.dataplex.v1.AspectOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.cloud.dataplex.v1.CatalogProto .internal_static_google_cloud_dataplex_v1_Aspect_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.cloud.dataplex.v1.CatalogProto .internal_static_google_cloud_dataplex_v1_Aspect_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.cloud.dataplex.v1.Aspect.class, com.google.cloud.dataplex.v1.Aspect.Builder.class); } // Construct using com.google.cloud.dataplex.v1.Aspect.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCreateTimeFieldBuilder(); getUpdateTimeFieldBuilder(); getDataFieldBuilder(); getAspectSourceFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; aspectType_ = ""; path_ = ""; createTime_ = null; if (createTimeBuilder_ != null) { createTimeBuilder_.dispose(); createTimeBuilder_ = null; } updateTime_ = null; if (updateTimeBuilder_ != null) { updateTimeBuilder_.dispose(); updateTimeBuilder_ = null; } data_ = null; if (dataBuilder_ != null) { dataBuilder_.dispose(); dataBuilder_ = null; } aspectSource_ = null; if (aspectSourceBuilder_ != null) { aspectSourceBuilder_.dispose(); aspectSourceBuilder_ = null; } 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_Aspect_descriptor; } @java.lang.Override public com.google.cloud.dataplex.v1.Aspect getDefaultInstanceForType() { return com.google.cloud.dataplex.v1.Aspect.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataplex.v1.Aspect build() { com.google.cloud.dataplex.v1.Aspect result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.cloud.dataplex.v1.Aspect buildPartial() { com.google.cloud.dataplex.v1.Aspect result = new com.google.cloud.dataplex.v1.Aspect(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.cloud.dataplex.v1.Aspect result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.aspectType_ = aspectType_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.path_ = path_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000010) != 0)) { result.data_ = dataBuilder_ == null ? data_ : dataBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000020) != 0)) { result.aspectSource_ = aspectSourceBuilder_ == null ? aspectSource_ : aspectSourceBuilder_.build(); to_bitField0_ |= 0x00000008; } 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.Aspect) { return mergeFrom((com.google.cloud.dataplex.v1.Aspect) other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.cloud.dataplex.v1.Aspect other) { if (other == com.google.cloud.dataplex.v1.Aspect.getDefaultInstance()) return this; if (!other.getAspectType().isEmpty()) { aspectType_ = other.aspectType_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getPath().isEmpty()) { path_ = other.path_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } if (other.hasData()) { mergeData(other.getData()); } if (other.hasAspectSource()) { mergeAspectSource(other.getAspectSource()); } 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: { aspectType_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { path_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 34: { input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 case 66: { input.readMessage(getDataFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 66 case 74: { input.readMessage(getAspectSourceFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 74 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 java.lang.Object aspectType_ = ""; /** * * *
     * Output only. The resource name of the type used to create this Aspect.
     * 
* * string aspect_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The aspectType. */ public java.lang.String getAspectType() { java.lang.Object ref = aspectType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); aspectType_ = s; return s; } else { return (java.lang.String) ref; } } /** * * *
     * Output only. The resource name of the type used to create this Aspect.
     * 
* * string aspect_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for aspectType. */ public com.google.protobuf.ByteString getAspectTypeBytes() { java.lang.Object ref = aspectType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); aspectType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
     * Output only. The resource name of the type used to create this Aspect.
     * 
* * string aspect_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The aspectType to set. * @return This builder for chaining. */ public Builder setAspectType(java.lang.String value) { if (value == null) { throw new NullPointerException(); } aspectType_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * * *
     * Output only. The resource name of the type used to create this Aspect.
     * 
* * string aspect_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return This builder for chaining. */ public Builder clearAspectType() { aspectType_ = getDefaultInstance().getAspectType(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * * *
     * Output only. The resource name of the type used to create this Aspect.
     * 
* * string aspect_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The bytes for aspectType to set. * @return This builder for chaining. */ public Builder setAspectTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); aspectType_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object path_ = ""; /** * * *
     * Output only. The path in the entry under which the aspect is attached.
     * 
* * string path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } else { return (java.lang.String) ref; } } /** * * *
     * Output only. The path in the entry under which the aspect is attached.
     * 
* * string path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for path. */ public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * * *
     * Output only. The path in the entry under which the aspect is attached.
     * 
* * string path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The path to set. * @return This builder for chaining. */ public Builder setPath(java.lang.String value) { if (value == null) { throw new NullPointerException(); } path_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * * *
     * Output only. The path in the entry under which the aspect is attached.
     * 
* * string path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return This builder for chaining. */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * * *
     * Output only. The path in the entry under which the aspect is attached.
     * 
* * string path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @param value The bytes for path to set. * @return This builder for chaining. */ public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); path_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** * * *
     * Output only. The time when the Aspect was created.
     * 
* * * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** * * *
     * Output only. The time when the Aspect was created.
     * 
* * * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** * * *
     * Output only. The time when the Aspect was created.
     * 
* * * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } createTime_ = value; } else { createTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * * *
     * Output only. The time when the Aspect was created.
     * 
* * * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { createTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * * *
     * Output only. The time when the Aspect was created.
     * 
* * * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && createTime_ != null && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; } } else { createTimeBuilder_.mergeFrom(value); } if (createTime_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * * *
     * Output only. The time when the Aspect was created.
     * 
* * * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000004); createTime_ = null; if (createTimeBuilder_ != null) { createTimeBuilder_.dispose(); createTimeBuilder_ = null; } onChanged(); return this; } /** * * *
     * Output only. The time when the Aspect was created.
     * 
* * * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** * * *
     * Output only. The time when the Aspect was created.
     * 
* * * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** * * *
     * Output only. The time when the Aspect was created.
     * 
* * * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getCreateTime(), getParentForChildren(), isClean()); createTime_ = null; } return createTimeBuilder_; } private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** * * *
     * Output only. The time when the Aspect was last updated.
     * 
* * * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** * * *
     * Output only. The time when the Aspect was last updated.
     * 
* * * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** * * *
     * Output only. The time when the Aspect was last updated.
     * 
* * * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } updateTime_ = value; } else { updateTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * * *
     * Output only. The time when the Aspect was last updated.
     * 
* * * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); } else { updateTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * * *
     * Output only. The time when the Aspect was last updated.
     * 
* * * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && updateTime_ != null && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getUpdateTimeBuilder().mergeFrom(value); } else { updateTime_ = value; } } else { updateTimeBuilder_.mergeFrom(value); } if (updateTime_ != null) { bitField0_ |= 0x00000008; onChanged(); } return this; } /** * * *
     * Output only. The time when the Aspect was last updated.
     * 
* * * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public Builder clearUpdateTime() { bitField0_ = (bitField0_ & ~0x00000008); updateTime_ = null; if (updateTimeBuilder_ != null) { updateTimeBuilder_.dispose(); updateTimeBuilder_ = null; } onChanged(); return this; } /** * * *
     * Output only. The time when the Aspect was last updated.
     * 
* * * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** * * *
     * Output only. The time when the Aspect was last updated.
     * 
* * * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } } /** * * *
     * Output only. The time when the Aspect was last updated.
     * 
* * * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } private com.google.protobuf.Struct data_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> dataBuilder_; /** * * *
     * Required. The content of the aspect, according to its aspect type schema.
     * This will replace `content`.
     * The maximum size of the field is 120KB (encoded as UTF-8).
     * 
* * .google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED]; * * @return Whether the data field is set. */ public boolean hasData() { return ((bitField0_ & 0x00000010) != 0); } /** * * *
     * Required. The content of the aspect, according to its aspect type schema.
     * This will replace `content`.
     * The maximum size of the field is 120KB (encoded as UTF-8).
     * 
* * .google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED]; * * @return The data. */ public com.google.protobuf.Struct getData() { if (dataBuilder_ == null) { return data_ == null ? com.google.protobuf.Struct.getDefaultInstance() : data_; } else { return dataBuilder_.getMessage(); } } /** * * *
     * Required. The content of the aspect, according to its aspect type schema.
     * This will replace `content`.
     * The maximum size of the field is 120KB (encoded as UTF-8).
     * 
* * .google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setData(com.google.protobuf.Struct value) { if (dataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; } else { dataBuilder_.setMessage(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** * * *
     * Required. The content of the aspect, according to its aspect type schema.
     * This will replace `content`.
     * The maximum size of the field is 120KB (encoded as UTF-8).
     * 
* * .google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setData(com.google.protobuf.Struct.Builder builderForValue) { if (dataBuilder_ == null) { data_ = builderForValue.build(); } else { dataBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); return this; } /** * * *
     * Required. The content of the aspect, according to its aspect type schema.
     * This will replace `content`.
     * The maximum size of the field is 120KB (encoded as UTF-8).
     * 
* * .google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeData(com.google.protobuf.Struct value) { if (dataBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && data_ != null && data_ != com.google.protobuf.Struct.getDefaultInstance()) { getDataBuilder().mergeFrom(value); } else { data_ = value; } } else { dataBuilder_.mergeFrom(value); } if (data_ != null) { bitField0_ |= 0x00000010; onChanged(); } return this; } /** * * *
     * Required. The content of the aspect, according to its aspect type schema.
     * This will replace `content`.
     * The maximum size of the field is 120KB (encoded as UTF-8).
     * 
* * .google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearData() { bitField0_ = (bitField0_ & ~0x00000010); data_ = null; if (dataBuilder_ != null) { dataBuilder_.dispose(); dataBuilder_ = null; } onChanged(); return this; } /** * * *
     * Required. The content of the aspect, according to its aspect type schema.
     * This will replace `content`.
     * The maximum size of the field is 120KB (encoded as UTF-8).
     * 
* * .google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Struct.Builder getDataBuilder() { bitField0_ |= 0x00000010; onChanged(); return getDataFieldBuilder().getBuilder(); } /** * * *
     * Required. The content of the aspect, according to its aspect type schema.
     * This will replace `content`.
     * The maximum size of the field is 120KB (encoded as UTF-8).
     * 
* * .google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.StructOrBuilder getDataOrBuilder() { if (dataBuilder_ != null) { return dataBuilder_.getMessageOrBuilder(); } else { return data_ == null ? com.google.protobuf.Struct.getDefaultInstance() : data_; } } /** * * *
     * Required. The content of the aspect, according to its aspect type schema.
     * This will replace `content`.
     * The maximum size of the field is 120KB (encoded as UTF-8).
     * 
* * .google.protobuf.Struct data = 8 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getDataFieldBuilder() { if (dataBuilder_ == null) { dataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(getData(), getParentForChildren(), isClean()); data_ = null; } return dataBuilder_; } private com.google.cloud.dataplex.v1.AspectSource aspectSource_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.AspectSource, com.google.cloud.dataplex.v1.AspectSource.Builder, com.google.cloud.dataplex.v1.AspectSourceOrBuilder> aspectSourceBuilder_; /** * * .google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the aspectSource field is set. */ public boolean hasAspectSource() { return ((bitField0_ & 0x00000020) != 0); } /** * * .google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The aspectSource. */ public com.google.cloud.dataplex.v1.AspectSource getAspectSource() { if (aspectSourceBuilder_ == null) { return aspectSource_ == null ? com.google.cloud.dataplex.v1.AspectSource.getDefaultInstance() : aspectSource_; } else { return aspectSourceBuilder_.getMessage(); } } /** * * .google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setAspectSource(com.google.cloud.dataplex.v1.AspectSource value) { if (aspectSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } aspectSource_ = value; } else { aspectSourceBuilder_.setMessage(value); } bitField0_ |= 0x00000020; onChanged(); return this; } /** * * .google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder setAspectSource( com.google.cloud.dataplex.v1.AspectSource.Builder builderForValue) { if (aspectSourceBuilder_ == null) { aspectSource_ = builderForValue.build(); } else { aspectSourceBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; onChanged(); return this; } /** * * .google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder mergeAspectSource(com.google.cloud.dataplex.v1.AspectSource value) { if (aspectSourceBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && aspectSource_ != null && aspectSource_ != com.google.cloud.dataplex.v1.AspectSource.getDefaultInstance()) { getAspectSourceBuilder().mergeFrom(value); } else { aspectSource_ = value; } } else { aspectSourceBuilder_.mergeFrom(value); } if (aspectSource_ != null) { bitField0_ |= 0x00000020; onChanged(); } return this; } /** * * .google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL]; * */ public Builder clearAspectSource() { bitField0_ = (bitField0_ & ~0x00000020); aspectSource_ = null; if (aspectSourceBuilder_ != null) { aspectSourceBuilder_.dispose(); aspectSourceBuilder_ = null; } onChanged(); return this; } /** * * .google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.cloud.dataplex.v1.AspectSource.Builder getAspectSourceBuilder() { bitField0_ |= 0x00000020; onChanged(); return getAspectSourceFieldBuilder().getBuilder(); } /** * * .google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL]; * */ public com.google.cloud.dataplex.v1.AspectSourceOrBuilder getAspectSourceOrBuilder() { if (aspectSourceBuilder_ != null) { return aspectSourceBuilder_.getMessageOrBuilder(); } else { return aspectSource_ == null ? com.google.cloud.dataplex.v1.AspectSource.getDefaultInstance() : aspectSource_; } } /** * * .google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL]; * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.AspectSource, com.google.cloud.dataplex.v1.AspectSource.Builder, com.google.cloud.dataplex.v1.AspectSourceOrBuilder> getAspectSourceFieldBuilder() { if (aspectSourceBuilder_ == null) { aspectSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.dataplex.v1.AspectSource, com.google.cloud.dataplex.v1.AspectSource.Builder, com.google.cloud.dataplex.v1.AspectSourceOrBuilder>( getAspectSource(), getParentForChildren(), isClean()); aspectSource_ = null; } return aspectSourceBuilder_; } @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.Aspect) } // @@protoc_insertion_point(class_scope:google.cloud.dataplex.v1.Aspect) private static final com.google.cloud.dataplex.v1.Aspect DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataplex.v1.Aspect(); } public static com.google.cloud.dataplex.v1.Aspect getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Aspect 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.Aspect getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy