public void MergeFrom(Cluster other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.deleteTime_ != null) { if (deleteTime_ == null) { deleteTime_ = new global::Google.Protobuf.Timestamp(); } DeleteTime.MergeFrom(other.DeleteTime); } if (other.currentOperation_ != null) { if (currentOperation_ == null) { currentOperation_ = new global::Google.Longrunning.Operation(); } CurrentOperation.MergeFrom(other.CurrentOperation); } if (other.DisplayName.Length != 0) { DisplayName = other.DisplayName; } if (other.ServeNodes != 0) { ServeNodes = other.ServeNodes; } if (other.DefaultStorageType != global::Google.Bigtable.Admin.Cluster.V1.StorageType.STORAGE_UNSPECIFIED) { DefaultStorageType = other.DefaultStorageType; } }
public void MergeFrom(Table other) { if (other == null) { return; } if (other.Name.Length != 0) { Name = other.Name; } if (other.currentOperation_ != null) { if (currentOperation_ == null) { currentOperation_ = new global::Google.Longrunning.Operation(); } CurrentOperation.MergeFrom(other.CurrentOperation); } columnFamilies_.Add(other.columnFamilies_); if (other.Granularity != global::Google.Bigtable.Admin.Table.V1.Table.Types.TimestampGranularity.MILLIS) { Granularity = other.Granularity; } }